minor fix

This commit is contained in:
Dorian Zedler 2020-05-26 15:59:55 +02:00
parent 1f6ecd3319
commit c75bbc2c65
Signed by: dorian
GPG key ID: 989DE36109AFA354
2 changed files with 4 additions and 5 deletions

View file

@ -94,24 +94,24 @@ public slots:
* *
* \return 200: OK; 904: state not matching * \return 200: OK; 904: state not matching
*/ */
int stop(); virtual int stop();
/*! /*!
* \brief Function to reset a stopped race * \brief Function to reset a stopped race
* \return * \return
*/ */
int reset(); virtual int reset();
int cancel(); int cancel();
// setters // setters
bool writeStartActionSetting(StartAction action, bool enabled, int delay); bool writeStartActionSetting(StartAction action, bool enabled, int delay);
bool setSoundVolume(double volume); bool setSoundVolume(double volume);
bool addTimer(ScStwTimer *timer); virtual bool addTimer(ScStwTimer *timer);
// getters // getters
RaceState getState(); RaceState getState();
StartAction getNextStartAction(); StartAction getNextStartAction();
QVariantList getNextStartActionDetails(); virtual QVariantList getNextStartActionDetails();
QVariantList getTimerDetailList(); QVariantList getTimerDetailList();
protected slots: protected slots:

View file

@ -8,7 +8,6 @@
class ScStwRemoteMonitorRace : public ScStwRace class ScStwRemoteMonitorRace : public ScStwRace
{ {
Q_OBJECT Q_OBJECT
Q_PROPERTY(QVariantList nextStartActionDetails READ getNextStartActionDetails NOTIFY nextStartActionDetailsChanged)
public: public:
ScStwRemoteMonitorRace(ScStwClient *monitorClient, QObject *parent = nullptr); ScStwRemoteMonitorRace(ScStwClient *monitorClient, QObject *parent = nullptr);