35 explicit QSMWatcher(QObject *parent =
nullptr);
50 void watchState(QAbstractState *state);
51 void clearWatchedStates();
53 void handleStateEntered();
54 void handleStateExited();
55 void handleStateDestroyed();
56 void handleTransitionTriggered();
59 QStateMachine *m_watchedStateMachine;
60 QVector<QAbstractState *> m_watchedStates;
62 QAbstractState *m_lastEnteredState;
63 QAbstractState *m_lastExitedState;