diff options
author | Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com> | 2009-04-23 11:46:02 +0200 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com> | 2009-04-23 11:46:02 +0200 |
commit | ad1441fcb1c66ddafd890c1aa22a631d12c4ee0d (patch) | |
tree | 07eb8ddd0b6976d001486ef536906ff1cdf7bdde /src/corelib/statemachine/qabstractstate.h | |
parent | 404db2ceac0ad4770c77f42e8f8a9cd003b151a1 (diff) | |
download | qt4-tools-ad1441fcb1c66ddafd890c1aa22a631d12c4ee0d.tar.gz |
Remove API for setting specific restore policies on states. We have no clear
use case for this, so it has been removed. If the requirement arises we can
add it back in later. Since it no longer makes sense to have it in
QAbstractState, the RestorePolicy enum has been moved to QStateMachine.
Diffstat (limited to 'src/corelib/statemachine/qabstractstate.h')
-rw-r--r-- | src/corelib/statemachine/qabstractstate.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/corelib/statemachine/qabstractstate.h b/src/corelib/statemachine/qabstractstate.h index 55e9a621a5..69e6bf158e 100644 --- a/src/corelib/statemachine/qabstractstate.h +++ b/src/corelib/statemachine/qabstractstate.h @@ -56,15 +56,7 @@ class QAbstractStatePrivate; class Q_CORE_EXPORT QAbstractState : public QObject { Q_OBJECT - Q_ENUMS(RestorePolicy) - Q_PROPERTY(RestorePolicy restorePolicy READ restorePolicy WRITE setRestorePolicy) public: - enum RestorePolicy { - GlobalRestorePolicy, - DoNotRestoreProperties, - RestoreProperties - }; - ~QAbstractState(); QState *parentState() const; @@ -72,9 +64,6 @@ public: void assignProperty(QObject *object, const char *name, const QVariant &value); - void setRestorePolicy(RestorePolicy restorePolicy); - RestorePolicy restorePolicy() const; - Q_SIGNALS: void entered(); void exited(); |