From d982bafab14b45e407b30efdaa6c1acdcbe6b781 Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Wed, 29 Jul 2020 17:56:32 +0200 Subject: [PATCH] added function to get list with timer objects --- ScStwLibraries/headers/scstwrace.h | 1 + ScStwLibraries/sources/scstwrace.cpp | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/ScStwLibraries/headers/scstwrace.h b/ScStwLibraries/headers/scstwrace.h index 206a457..f4d8718 100644 --- a/ScStwLibraries/headers/scstwrace.h +++ b/ScStwLibraries/headers/scstwrace.h @@ -130,6 +130,7 @@ public slots: RaceState getState(); StartAction getNextStartAction(); virtual QVariantList getNextStartActionDetails(); + QList getTimers(); QVariantList getTimerDetailList(); protected slots: diff --git a/ScStwLibraries/sources/scstwrace.cpp b/ScStwLibraries/sources/scstwrace.cpp index 5998f13..4c4adb1 100644 --- a/ScStwLibraries/sources/scstwrace.cpp +++ b/ScStwLibraries/sources/scstwrace.cpp @@ -387,6 +387,10 @@ ScStwRace::StartAction ScStwRace::getNextStartAction() return this->nextStartAction; } +QList ScStwRace::getTimers() { + return this->timers; +} + QVariantList ScStwRace::getTimerDetailList() { QVariantList tmpTimers;