fixed cancel function naming

This commit is contained in:
Dorian Zedler 2020-05-26 17:57:32 +02:00
parent 86f0c22864
commit 81ee19819c
Signed by: dorian
GPG key ID: 989DE36109AFA354
3 changed files with 5 additions and 5 deletions

View file

@ -101,7 +101,7 @@ public slots:
* \return * \return
*/ */
virtual int reset(); virtual int reset();
int cancel(); virtual int cancel();
// setters // setters
bool writeStartActionSetting(StartAction action, bool enabled, int delay); bool writeStartActionSetting(StartAction action, bool enabled, int delay);

View file

@ -20,7 +20,7 @@ private:
public slots: public slots:
int start(); int start();
void cancelStart(); int cancel();
int stop(); int stop();
int reset(); int reset();
bool addTimer(ScStwTimer *timer); bool addTimer(ScStwTimer *timer);

View file

@ -38,9 +38,9 @@ int ScStwRemoteMonitorRace::start() {
return returnCode; return returnCode;
} }
void ScStwRemoteMonitorRace::cancelStart() { int ScStwRemoteMonitorRace::cancel() {
this->stop(); return this->stop();
return;
} }
int ScStwRemoteMonitorRace::stop() { int ScStwRemoteMonitorRace::stop() {