diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2011-08-19 10:14:59 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-08-19 03:53:11 +0200 |
commit | 9ed7790fd828f1dfa51a05326620e538076297b1 (patch) | |
tree | acd3825c454471b005255197d5af560a6ccdc2e0 /src/declarative/util/qdeclarativestategroup_p.h | |
parent | c47025eab4276b4e1b0181b92e53ab4f7e3ae6aa (diff) |
Internal state class refactoring.
Change-Id: I6e5fe3fa4459f99a50e3aa79c3a87106600f083a
Reviewed-on: http://codereview.qt.nokia.com/3231
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Charles Yin <charles.yin@nokia.com>
Diffstat (limited to 'src/declarative/util/qdeclarativestategroup_p.h')
-rw-r--r-- | src/declarative/util/qdeclarativestategroup_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/declarative/util/qdeclarativestategroup_p.h b/src/declarative/util/qdeclarativestategroup_p.h index 65d9536236..e539f3fb16 100644 --- a/src/declarative/util/qdeclarativestategroup_p.h +++ b/src/declarative/util/qdeclarativestategroup_p.h @@ -74,6 +74,7 @@ public: QDeclarativeListProperty<QDeclarativeTransition> transitionsProperty(); QDeclarativeState *findState(const QString &name) const; + void removeState(QDeclarativeState *state); virtual void classBegin(); virtual void componentComplete(); @@ -82,8 +83,9 @@ Q_SIGNALS: private: friend class QDeclarativeState; + friend class QDeclarativeStatePrivate; bool updateAutoState(); - void removeState(QDeclarativeState *state); + void stateAboutToComplete(); }; QT_END_NAMESPACE |