diff options
author | Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com> | 2009-04-21 13:59:21 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com> | 2009-04-21 13:59:21 (GMT) |
commit | 750cea0a42bc969913547a7266e8ae16936a7a8c (patch) | |
tree | 1b46eb9cf667233263d459339fbefcbe0725ec13 | |
parent | ae6ab698ea739ac82cc6245742b58c7265ee82f8 (diff) | |
download | Qt-750cea0a42bc969913547a7266e8ae16936a7a8c.zip Qt-750cea0a42bc969913547a7266e8ae16936a7a8c.tar.gz Qt-750cea0a42bc969913547a7266e8ae16936a7a8c.tar.bz2 |
doc: Document return value of QState::addTransition(QAbstractTransition*)
-rw-r--r-- | src/corelib/statemachine/qstate.cpp | 3 |
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) { |