void toggleRunning() { if (timer.isActive()) timer.stop(); else { timer.start(10, this); el.start(); } }
void SharedTimerQt::timerEvent(QTimerEvent* ev) { if (!m_timerFunction || ev->timerId() != m_timer.timerId()) return; m_timer.stop(); (m_timerFunction)(); }
void timerEvent(QTimerEvent * ev) { if (ev->timerId() != m_queryTimer.timerId()) return; m_queryTimer.stop(); emit queryRequest(); }
void Stop () { Timer_.stop (); }
void SharedTimerQt::stop() { m_timer.stop(); }