summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmlstate_p.h
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-06-30 02:55:10 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-06-30 02:55:10 (GMT)
commit3c6648385e8637536292c1351ef0d52708bd07d2 (patch)
tree305f4c065d83129f65545ef436c79f9492692226 /src/declarative/util/qmlstate_p.h
parent6856dd2850245414fb610e651391f5fe141605de (diff)
downloadQt-3c6648385e8637536292c1351ef0d52708bd07d2.zip
Qt-3c6648385e8637536292c1351ef0d52708bd07d2.tar.gz
Qt-3c6648385e8637536292c1351ef0d52708bd07d2.tar.bz2
Support animating dot properties.
Make sure we can handle things like PropertyAnimation { property: "anchors.leftMargin" }
Diffstat (limited to 'src/declarative/util/qmlstate_p.h')
-rw-r--r--src/declarative/util/qmlstate_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/declarative/util/qmlstate_p.h b/src/declarative/util/qmlstate_p.h
index b4ec476..2f6ff42 100644
--- a/src/declarative/util/qmlstate_p.h
+++ b/src/declarative/util/qmlstate_p.h
@@ -55,6 +55,8 @@ public:
SimpleAction(const Action &a, State state = StartState)
{
property = a.property;
+ specifiedObject = a.specifiedObject;
+ specifiedProperty = a.specifiedProperty;
if (state == StartState) {
value = a.fromValue;
binding = property.binding();
@@ -67,6 +69,8 @@ public:
QmlMetaProperty property;
QVariant value;
QmlBindableValue *binding;
+ QObject *specifiedObject;
+ QString specifiedProperty;
};
class QmlStatePrivate : public QObjectPrivate