added Q_PROPERTY for state
This commit is contained in:
parent
654b05dec9
commit
c262935377
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
class ScStwRace : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PROPERTY(RaceState state READ getState NOTIFY stateChanged)
|
||||
public:
|
||||
explicit ScStwRace(QObject *parent = nullptr);
|
||||
|
||||
|
|
Reference in a new issue