diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-11-17 04:30:59 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-11-17 04:42:27 (GMT) |
commit | a2511fc8cc122412ddf3955aec73a6b42c601d92 (patch) | |
tree | 85d7242e8147f2c4780c7461308f0388ca8e2538 /src/declarative/util/qmlstateoperations_p.h | |
parent | 119a52991cf33b6738bdaf8296a06b33341228a0 (diff) | |
download | Qt-a2511fc8cc122412ddf3955aec73a6b42c601d92.zip Qt-a2511fc8cc122412ddf3955aec73a6b42c601d92.tar.gz Qt-a2511fc8cc122412ddf3955aec73a6b42c601d92.tar.bz2 |
Distinguish between reversing and rewinding a state change.
Task-number: QTBUG-5769
Diffstat (limited to 'src/declarative/util/qmlstateoperations_p.h')
-rw-r--r-- | src/declarative/util/qmlstateoperations_p.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/declarative/util/qmlstateoperations_p.h b/src/declarative/util/qmlstateoperations_p.h index a9488dc..589fe20 100644 --- a/src/declarative/util/qmlstateoperations_p.h +++ b/src/declarative/util/qmlstateoperations_p.h @@ -79,6 +79,8 @@ public: virtual void reverse(); virtual QString typeName() const; virtual bool override(ActionEvent*other); + virtual void rewind(); + virtual void saveCurrentValues(); }; class QmlStateChangeScriptPrivate; @@ -166,6 +168,8 @@ public: virtual void saveOriginals(); virtual void clearForwardBindings(); virtual void clearReverseBindings(); + virtual void rewind(); + virtual void saveCurrentValues(); }; QT_END_NAMESPACE |