diff --git a/ScStwLibraries/headers/scstwtimer.h b/ScStwLibraries/headers/scstwtimer.h index 48dfd17..8bdf412 100644 --- a/ScStwLibraries/headers/scstwtimer.h +++ b/ScStwLibraries/headers/scstwtimer.h @@ -122,7 +122,7 @@ public slots: * \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 */ - bool start(double timeOfStart); + virtual bool start(double timeOfStart); /*! * \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 */ - bool reset(); + virtual bool reset(); // -- helper functions -- /*! @@ -274,7 +274,7 @@ protected slots: * * \see ScStwTimer::StopReason */ - bool stop(StopReason reason, double timeOfStop); + virtual bool stop(StopReason reason, double timeOfStop); /*! * \brief Function to stop the timer diff --git a/ScStwLibraries/sources/scstwtimer.cpp b/ScStwLibraries/sources/scstwtimer.cpp index fc3df05..5d05881 100644 --- a/ScStwLibraries/sources/scstwtimer.cpp +++ b/ScStwLibraries/sources/scstwtimer.cpp @@ -53,7 +53,7 @@ void ScStwTimer::handleClimberStart(double timeOfStart) { return; } - // TODO: check if necessary: emit this->reactionTimeChanged(); + emit this->reactionTimeChanged(); } bool ScStwTimer::cancel() {