timerthread.h

Go to the documentation of this file.
00001 
00023 #ifndef TIMERTHREAD_H
00024 #define TIMERTHREAD_H
00025 
00026 #include <QThread>
00027 #include <QTimer>
00028 
00030 class TimerThread : public QThread
00031 {
00032         Q_OBJECT
00033 
00034         public:
00035                 TimerThread();
00036                 void start(Priority priority = InheritPriority);
00037                 void stop();
00038                 void kill();
00039 
00040         public slots:
00041                 void setSceneInterval(double);
00042                 void setItemInterval(double);
00043 
00044         signals:
00045                 void updateScene();
00046                 void updateItem();
00047 
00048         private:
00049                 void run();
00050 
00051                 QTimer m_timerScene;
00052                 QTimer m_timerItem;
00053                 bool m_abort;
00054 };
00055 
00056 #endif

Generated on Thu Apr 5 13:06:31 2007 for LCDBuilder by  doxygen 1.4.7