summaryrefslogtreecommitdiffstats
path: root/src/corelib/statemachine/qstate.cpp
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-07-23 10:41:52 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-07-23 10:42:16 (GMT)
commit588f8daeb52cfea461cbcb8c128de5997ab5a6cf (patch)
tree0e435fdedabd62bb9a952d0a60e68c74d25822bf /src/corelib/statemachine/qstate.cpp
parent30f6a1d06723aac5168dcef32cba10cd99b85242 (diff)
downloadQt-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.cpp4
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.