summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmlstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/util/qmlstate.h')
-rw-r--r--src/declarative/util/qmlstate.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/declarative/util/qmlstate.h b/src/declarative/util/qmlstate.h
index 0b8d82a..59ef812 100644
--- a/src/declarative/util/qmlstate.h
+++ b/src/declarative/util/qmlstate.h
@@ -79,28 +79,6 @@ public:
virtual void execute();
};
-class RevertAction
-{
-public:
- RevertAction(const Action &a, bool from = true) : bv(0)
- {
- property = a.property;
- if (from) {
- value = a.fromValue;
- binding = a.fromBinding;
- } else {
- value = a.toValue;
- binding = a.toBinding;
- }
- bv = a.bv;
- }
-
- QmlMetaProperty property;
- QVariant value;
- QString binding;
- QmlBindableValue *bv;
-};
-
class QmlStateGroup;
class Q_DECLARATIVE_EXPORT QmlStateOperation : public QObject
{
@@ -109,7 +87,6 @@ public:
QmlStateOperation(QObject *parent = 0)
: QObject(parent) {}
typedef QList<Action> ActionList;
- typedef QList<RevertAction> RevertActionList;
virtual ActionList actions();