summaryrefslogtreecommitdiffstats
path: root/doc/src/statemachine.qdoc
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-04-28 11:29:37 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-04-29 06:29:47 (GMT)
commit4f6b9b1779fe33f876f96c196c3feef7e72992a0 (patch)
tree3131513d79437f85ba411a4c5fe12143b1d62504 /doc/src/statemachine.qdoc
parent9c28c75052a38eb3b317c2ac7ad2a26c73deeb2d (diff)
downloadQt-4f6b9b1779fe33f876f96c196c3feef7e72992a0.zip
Qt-4f6b9b1779fe33f876f96c196c3feef7e72992a0.tar.gz
Qt-4f6b9b1779fe33f876f96c196c3feef7e72992a0.tar.bz2
move assignProperty() to QState
Doesn't belong in the abstract base class.
Diffstat (limited to 'doc/src/statemachine.qdoc')
-rw-r--r--doc/src/statemachine.qdoc9
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");