added Q_PROPERTY for state

This commit is contained in:
Dorian Zedler 2020-04-15 21:47:04 +02:00
parent 654b05dec9
commit c262935377
Signed by: dorian
GPG key ID: 989DE36109AFA354

View file

@ -11,6 +11,7 @@
class ScStwRace : public QObject class ScStwRace : public QObject
{ {
Q_OBJECT Q_OBJECT
Q_PROPERTY(RaceState state READ getState NOTIFY stateChanged)
public: public:
explicit ScStwRace(QObject *parent = nullptr); explicit ScStwRace(QObject *parent = nullptr);