summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmlstateoperations_p.h
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-11-17 04:30:59 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-11-17 04:42:27 (GMT)
commita2511fc8cc122412ddf3955aec73a6b42c601d92 (patch)
tree85d7242e8147f2c4780c7461308f0388ca8e2538 /src/declarative/util/qmlstateoperations_p.h
parent119a52991cf33b6738bdaf8296a06b33341228a0 (diff)
downloadQt-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.h4
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