| 123456789101112131415161718192021222324252627 |
- #ifndef SNCTIMER_H
- #define SNCTIMER_H
- #include <QThread>
- #include <QtCore>
- #include "SNCCore_global.h"
- class SNCCORESHARED_EXPORT SNCTimer : public QThread
- {
- Q_OBJECT
- public:
- explicit SNCTimer(int seconds,QObject *parent = 0);
- void abort();
- protected:
- void run();
- signals:
- void timerOut();
- public slots:
- private:
- bool m_stop;
- int m_seconds;
-
- };
- #endif // SNCTIMER_H
|