made methods which need to be overrideable virtual

This commit is contained in:
Dorian Zedler 2020-05-18 10:49:11 +02:00
parent 6bcf9d1631
commit fd83b8ffab
Signed by: dorian
GPG key ID: 989DE36109AFA354
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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() {