made methods which need to be overrideable virtual
This commit is contained in:
parent
6bcf9d1631
commit
fd83b8ffab
2 changed files with 4 additions and 4 deletions
|
@ -122,7 +122,7 @@ public slots:
|
||||||
* \param timeOfStart the point in time (msecs since epoch) when the timer is supposted to be started
|
* \param timeOfStart the point in time (msecs since epoch) when the timer is supposted to be started
|
||||||
* \return false if the timer was not in the required state and therefore not started, true otherwise
|
* \return false if the timer was not in the required state and therefore not started, true otherwise
|
||||||
*/
|
*/
|
||||||
bool start(double timeOfStart);
|
virtual bool start(double timeOfStart);
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Function to cancel the timer
|
* \brief Function to cancel the timer
|
||||||
|
@ -169,7 +169,7 @@ public slots:
|
||||||
*
|
*
|
||||||
* \return false if the timer was not in the required state and therefore not reset, true otherwise
|
* \return false if the timer was not in the required state and therefore not reset, true otherwise
|
||||||
*/
|
*/
|
||||||
bool reset();
|
virtual bool reset();
|
||||||
|
|
||||||
// -- helper functions --
|
// -- helper functions --
|
||||||
/*!
|
/*!
|
||||||
|
@ -274,7 +274,7 @@ protected slots:
|
||||||
*
|
*
|
||||||
* \see ScStwTimer::StopReason
|
* \see ScStwTimer::StopReason
|
||||||
*/
|
*/
|
||||||
bool stop(StopReason reason, double timeOfStop);
|
virtual bool stop(StopReason reason, double timeOfStop);
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Function to stop the timer
|
* \brief Function to stop the timer
|
||||||
|
|
|
@ -53,7 +53,7 @@ void ScStwTimer::handleClimberStart(double timeOfStart) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: check if necessary: emit this->reactionTimeChanged();
|
emit this->reactionTimeChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ScStwTimer::cancel() {
|
bool ScStwTimer::cancel() {
|
||||||
|
|
Reference in a new issue