diff options
Diffstat (limited to 'src/imports/statemachine/state.cpp')
-rw-r--r-- | src/imports/statemachine/state.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/imports/statemachine/state.cpp b/src/imports/statemachine/state.cpp index af76087256..ff0f55f197 100644 --- a/src/imports/statemachine/state.cpp +++ b/src/imports/statemachine/state.cpp @@ -61,7 +61,9 @@ void State::componentComplete() QQmlListProperty<QObject> State::children() { - return QQmlListProperty<QObject>(this, &m_children, m_children.append, m_children.count, m_children.at, m_children.clear); + return QQmlListProperty<QObject>(this, &m_children, + m_children.append, m_children.count, m_children.at, + m_children.clear, m_children.replace, m_children.removeLast); } /*! @@ -95,8 +97,6 @@ QQmlListProperty<QObject> State::children() This signal is emitted when the State becomes active. - The corresponding handler is \c onEntered. - \sa active, exited */ @@ -105,8 +105,6 @@ QQmlListProperty<QObject> State::children() This signal is emitted when the State becomes inactive. - The corresponding handler is \c onExited. - \sa active, entered */ @@ -119,7 +117,6 @@ QQmlListProperty<QObject> State::children() \brief Provides a general-purpose state for StateMachine. - State objects can have child states as well as transitions to other states. State is part of \l{The Declarative State Machine Framework}. @@ -178,8 +175,6 @@ QQmlListProperty<QObject> State::children() This signal is emitted when a final child state of this state is entered. - The corresponding handler is \c onFinished. - \sa QAbstractState::active, QAbstractState::entered, QAbstractState::exited */ |