added function to get list with timer objects

This commit is contained in:
Dorian Zedler 2020-07-29 17:56:32 +02:00
parent f1bf5ac407
commit d982bafab1
Signed by: dorian
GPG key ID: D3B255CB8BC7CD37
2 changed files with 5 additions and 0 deletions

View file

@ -130,6 +130,7 @@ public slots:
RaceState getState();
StartAction getNextStartAction();
virtual QVariantList getNextStartActionDetails();
QList<ScStwTimer*> getTimers();
QVariantList getTimerDetailList();
protected slots:

View file

@ -387,6 +387,10 @@ ScStwRace::StartAction ScStwRace::getNextStartAction()
return this->nextStartAction;
}
QList<ScStwTimer*> ScStwRace::getTimers() {
return this->timers;
}
QVariantList ScStwRace::getTimerDetailList() {
QVariantList tmpTimers;