a9b7d3361d
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=792012
32 lines
381 B
C++
32 lines
381 B
C++
|
|
#ifndef SHAREDTIMERTEST_H
|
|
#define SHAREDTIMERTEST_H
|
|
|
|
#include <QList>
|
|
#include <QObject>
|
|
|
|
namespace Plasma
|
|
{
|
|
class Timer;
|
|
} // namespace Plasma
|
|
|
|
class Tester : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
Tester(int rounds);
|
|
|
|
private Q_SLOTS:
|
|
void timeout();
|
|
|
|
private:
|
|
int m_count;
|
|
int m_round;
|
|
int m_targetRounds;
|
|
QList<Plasma::Timer*> m_order;
|
|
};
|
|
|
|
#endif
|
|
|