diff options
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/statemachine.qdoc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/doc/src/statemachine.qdoc b/doc/src/statemachine.qdoc index 97c09b9..1462ec1 100644 --- a/doc/src/statemachine.qdoc +++ b/doc/src/statemachine.qdoc @@ -76,11 +76,10 @@ becomes part of your application's event loop. The above state machine is perfectly fine, but it doesn't \e do anything; it - merely transitions from one state to another. The - QAbstractState::assignProperty() function can be used to have a state set a - property of a QObject when the state is entered. In the following snippet, - the value that should be assigned to a QLabel's text property is specified - for each state: + merely transitions from one state to another. The QState::assignProperty() + function can be used to have a state set a property of a QObject when the + state is entered. In the following snippet, the value that should be + assigned to a QLabel's text property is specified for each state: \code s1->assignProperty(label, "text", "In state s1"); |