diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-07-01 08:21:39 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-07-01 11:20:54 (GMT) |
commit | 5118020e63f5e634a74082c417362d735a7a2303 (patch) | |
tree | e8825b7d0960d260e124e22cbb6263bc5e01bb53 /src/declarative/util/qmlstate_p.h | |
parent | 59a3b7d39e75884027decdd8a029062f0fdde32a (diff) | |
download | Qt-5118020e63f5e634a74082c417362d735a7a2303.zip Qt-5118020e63f5e634a74082c417362d735a7a2303.tar.gz Qt-5118020e63f5e634a74082c417362d735a7a2303.tar.bz2 |
Remove QmlSetProperty
This involves the introduction of separation between states and transition application. This was necessary to allow layouts to continue to use transitions.
Diffstat (limited to 'src/declarative/util/qmlstate_p.h')
-rw-r--r-- | src/declarative/util/qmlstate_p.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/declarative/util/qmlstate_p.h b/src/declarative/util/qmlstate_p.h index 1b784f3..414ec08 100644 --- a/src/declarative/util/qmlstate_p.h +++ b/src/declarative/util/qmlstate_p.h @@ -56,6 +56,7 @@ #include <QtDeclarative/qmlstate.h> #include <private/qobject_p.h> #include <private/qmlanimation_p.h> +#include <private/qmltransitionmanager_p.h> QT_BEGIN_NAMESPACE @@ -90,24 +91,23 @@ class QmlStatePrivate : public QObjectPrivate public: QmlStatePrivate() - : when(0), transition(0), inState(false), group(0) {} + : when(0), inState(false), group(0) {} typedef QList<SimpleAction> SimpleActionList; QString name; QmlBindableValue *when; QmlConcreteList<QmlStateOperation *> operations; - QmlTransition *transition; + + QmlTransitionManager transitionManager; + SimpleActionList revertList; QList<QmlMetaProperty> reverting; - SimpleActionList completeList; - QmlStateOperation::ActionList bindingsList; QString extends; mutable bool inState; QmlStateGroup *group; QmlStateOperation::ActionList generateActionList(QmlStateGroup *) const; - void applyBindings(); void complete(); }; |