#include "timer_service.h" bool TimerService::_run = false; int TimerService::_interval = 200; QTimer TimerService::_timer; void TimerService::start() { if(_run){ } _run = true; _timer.start(_interval); } void TimerService::stop() { _timer.stop(); } TimerService *TimerService::getIns() { // _timer->stop(); // return nullptr; }