summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmlstate_p.h
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-07-22 03:41:56 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-07-22 03:41:56 (GMT)
commit1777678767e1f30ff5df0b0a7d19c0af9c5c9590 (patch)
treec16315aaae4132d86b0992a0410d05d3c9aa4115 /src/declarative/util/qmlstate_p.h
parent34055e0160e2e94b0dd6b972c5bdc96a421adcf1 (diff)
downloadQt-1777678767e1f30ff5df0b0a7d19c0af9c5c9590.zip
Qt-1777678767e1f30ff5df0b0a7d19c0af9c5c9590.tar.gz
Qt-1777678767e1f30ff5df0b0a7d19c0af9c5c9590.tar.bz2
Remove moveToParent property.
Functionality has been moved to ParentChange.
Diffstat (limited to 'src/declarative/util/qmlstate_p.h')
-rw-r--r--src/declarative/util/qmlstate_p.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/declarative/util/qmlstate_p.h b/src/declarative/util/qmlstate_p.h
index 73e2377..b601b57 100644
--- a/src/declarative/util/qmlstate_p.h
+++ b/src/declarative/util/qmlstate_p.h
@@ -69,12 +69,15 @@ public:
property = a.property;
specifiedObject = a.specifiedObject;
specifiedProperty = a.specifiedProperty;
+ event = a.event;
if (state == StartState) {
value = a.fromValue;
binding = property.binding();
+ reverseEvent = true;
} else {
value = a.toValue;
binding = a.toBinding;
+ reverseEvent = false;
}
}
@@ -83,6 +86,8 @@ public:
QmlBinding *binding;
QObject *specifiedObject;
QString specifiedProperty;
+ ActionEvent *event;
+ bool reverseEvent;
};
class QmlStatePrivate : public QObjectPrivate