summaryrefslogtreecommitdiffstats
path: root/src/corelib/statemachine/qstate.cpp
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>2009-04-21 13:59:21 (GMT)
committerEskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>2009-04-21 13:59:21 (GMT)
commit750cea0a42bc969913547a7266e8ae16936a7a8c (patch)
tree1b46eb9cf667233263d459339fbefcbe0725ec13 /src/corelib/statemachine/qstate.cpp
parentae6ab698ea739ac82cc6245742b58c7265ee82f8 (diff)
downloadQt-750cea0a42bc969913547a7266e8ae16936a7a8c.zip
Qt-750cea0a42bc969913547a7266e8ae16936a7a8c.tar.gz
Qt-750cea0a42bc969913547a7266e8ae16936a7a8c.tar.bz2
doc: Document return value of QState::addTransition(QAbstractTransition*)
Diffstat (limited to 'src/corelib/statemachine/qstate.cpp')
-rw-r--r--src/corelib/statemachine/qstate.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/statemachine/qstate.cpp b/src/corelib/statemachine/qstate.cpp
index abd7379..28c84d5 100644
--- a/src/corelib/statemachine/qstate.cpp
+++ b/src/corelib/statemachine/qstate.cpp
@@ -245,7 +245,8 @@ void QState::setErrorState(QAbstractState *state)
/*!
Adds the given \a transition. The transition has this state as the source.
- This state takes ownership of the transition.
+ This state takes ownership of the transition. If the transition is successfully
+ added, the function will return the \a transition pointer. Otherwise it will return null.
*/
QAbstractTransition *QState::addTransition(QAbstractTransition *transition)
{