summaryrefslogtreecommitdiffstats
path: root/src/corelib/statemachine/qstatemachine.cpp
diff options
context:
space:
mode:
authorJerome Pasion <jerome.pasion@nokia.com>2010-08-17 12:37:10 (GMT)
committerJerome Pasion <jerome.pasion@nokia.com>2010-08-17 12:37:10 (GMT)
commitd86c82996fc94acea0f96fe619ead6835c12c2ba (patch)
tree4f124f7d0dbf6919e76d0f628f1402f937feb6a8 /src/corelib/statemachine/qstatemachine.cpp
parent0efb4c096ff99089b9b6dcbd2f4e4625f845f9de (diff)
downloadQt-d86c82996fc94acea0f96fe619ead6835c12c2ba.zip
Qt-d86c82996fc94acea0f96fe619ead6835c12c2ba.tar.gz
Qt-d86c82996fc94acea0f96fe619ead6835c12c2ba.tar.bz2
Documented onEntry() and onExit() functions.
Reviewed by: David Boddie Task: QTBUG-9984
Diffstat (limited to 'src/corelib/statemachine/qstatemachine.cpp')
-rw-r--r--src/corelib/statemachine/qstatemachine.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/statemachine/qstatemachine.cpp b/src/corelib/statemachine/qstatemachine.cpp
index 9d5c49f..4b371f7 100644
--- a/src/corelib/statemachine/qstatemachine.cpp
+++ b/src/corelib/statemachine/qstatemachine.cpp
@@ -2135,6 +2135,7 @@ void QStateMachine::endMicrostep(QEvent *event)
/*!
\reimp
+ This function will call start() to start the state machine.
*/
void QStateMachine::onEntry(QEvent *event)
{
@@ -2144,6 +2145,8 @@ void QStateMachine::onEntry(QEvent *event)
/*!
\reimp
+ This function will call stop() to stop the state machine and
+ subsequently emit the stopped() signal.
*/
void QStateMachine::onExit(QEvent *event)
{