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/qstate.cpp | |
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/qstate.cpp')
-rw-r--r-- | src/corelib/statemachine/qstate.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/statemachine/qstate.cpp b/src/corelib/statemachine/qstate.cpp index f74edc3..2042288 100644 --- a/src/corelib/statemachine/qstate.cpp +++ b/src/corelib/statemachine/qstate.cpp @@ -215,6 +215,8 @@ QList<QAbstractTransition*> QStatePrivate::transitions() const return result; } +#ifndef QT_NO_PROPERTIES + /*! Instructs this state to set the property with the given \a name of the given \a object to the given \a value when the state is entered. @@ -239,6 +241,8 @@ void QState::assignProperty(QObject *object, const char *name, d->propertyAssignments.append(QPropertyAssignment(object, name, value)); } +#endif // QT_NO_PROPERTIES + /*! Returns this state's error state. |