From 750cea0a42bc969913547a7266e8ae16936a7a8c Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Tue, 21 Apr 2009 15:59:21 +0200 Subject: doc: Document return value of QState::addTransition(QAbstractTransition*) --- src/corelib/statemachine/qstate.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- cgit v0.12