diff options
Diffstat (limited to 'src/corelib/statemachine/qstate.h')
-rw-r--r-- | src/corelib/statemachine/qstate.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/corelib/statemachine/qstate.h b/src/corelib/statemachine/qstate.h index 7c64c80..70211c1 100644 --- a/src/corelib/statemachine/qstate.h +++ b/src/corelib/statemachine/qstate.h @@ -57,7 +57,6 @@ QT_MODULE(Core) class QAbstractTransition; class QHistoryState; class QSignalTransition; -class QStateFinishedTransition; class QStatePrivate; class Q_CORE_EXPORT QState : public QAbstractState @@ -84,7 +83,6 @@ public: QAbstractTransition *addTransition(QAbstractTransition *transition); QSignalTransition *addTransition(QObject *sender, const char *signal, QAbstractState *target); QAbstractTransition *addTransition(QAbstractState *target); - QStateFinishedTransition *addFinishedTransition(QAbstractState *target); void removeTransition(QAbstractTransition *transition); QList<QAbstractTransition*> transitions() const; @@ -93,6 +91,9 @@ public: QAbstractState *initialState() const; void setInitialState(QAbstractState *state); +Q_SIGNALS: + void finished(); + protected: void onEntry(); void onExit(); |