48 m_pulseTimer.setSingleShot(
true);
49 m_pulseTimer.setInterval(5);
50 connect(&m_pulseTimer, &QTimer::timeout,
this, &TorcNetworkButtonInput::EndPulse);
55 return QStringList() << tr(
"Network button");
79 QMutexLocker locker(&
lock);
82 if (m_pulseTimer.isActive())
86 if (qFuzzyCompare(Value + 1.0, 1.0))
93 void TorcNetworkButtonInput::StartTimer(
void)
95 if (!m_pulseTimer.isActive())
99 void TorcNetworkButtonInput::EndPulse(
void)
101 QMutexLocker locker(&
lock);