diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-07-23 10:41:52 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-07-23 10:42:16 (GMT) |
commit | 588f8daeb52cfea461cbcb8c128de5997ab5a6cf (patch) | |
tree | 0e435fdedabd62bb9a952d0a60e68c74d25822bf /src/corelib/statemachine/qstatemachine_p.h | |
parent | 30f6a1d06723aac5168dcef32cba10cd99b85242 (diff) | |
download | Qt-588f8daeb52cfea461cbcb8c128de5997ab5a6cf.zip Qt-588f8daeb52cfea461cbcb8c128de5997ab5a6cf.tar.gz Qt-588f8daeb52cfea461cbcb8c128de5997ab5a6cf.tar.bz2 |
make statemachine compile with QT_NO_PROPERTIES
Diffstat (limited to 'src/corelib/statemachine/qstatemachine_p.h')
-rw-r--r-- | src/corelib/statemachine/qstatemachine_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/statemachine/qstatemachine_p.h b/src/corelib/statemachine/qstatemachine_p.h index 21e405d..cae21aa 100644 --- a/src/corelib/statemachine/qstatemachine_p.h +++ b/src/corelib/statemachine/qstatemachine_p.h @@ -151,6 +151,7 @@ public: void **args); void scheduleProcess(); +#ifndef QT_NO_PROPERTIES typedef QPair<QObject *, QByteArray> RestorableId; QHash<RestorableId, QVariant> registeredRestorables; void registerRestorable(QObject *object, const QByteArray &propertyName); @@ -158,6 +159,7 @@ public: bool hasRestorable(QObject *object, const QByteArray &propertyName) const; QVariant restorableValue(QObject *object, const QByteArray &propertyName) const; QList<QPropertyAssignment> restorablesToPropertyList(const QHash<RestorableId, QVariant> &restorables) const; +#endif State state; bool processing; |