#ifndef CSCI_TIMER_SERVICE_H #define CSCI_TIMER_SERVICE_H #include #include class TimerService : public QObject{ Q_OBJECT private: static bool _run; static int _interval; static QTimer _timer; public: static void start(); static void stop(); static TimerService* getIns(); }; #endif //CSCI_TIMER_SERVICE_H