diff options
Diffstat (limited to 'src/corelib/statemachine/qstatemachine.cpp')
-rw-r--r-- | src/corelib/statemachine/qstatemachine.cpp | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/src/corelib/statemachine/qstatemachine.cpp b/src/corelib/statemachine/qstatemachine.cpp index b0f6cd6..8320b0d 100644 --- a/src/corelib/statemachine/qstatemachine.cpp +++ b/src/corelib/statemachine/qstatemachine.cpp @@ -1930,72 +1930,6 @@ void QStateMachine::removeDefaultAnimation(QAbstractAnimation *animation) d->defaultAnimations.removeAll(animation); } - -/*! - Adds a default \a animation to be considered for any transition with the source state - \a sourceState. -*/ -void QStateMachine::addDefaultAnimationForSourceState(QAbstractState *sourceState, - QAbstractAnimation *animation) -{ - Q_D(QStateMachine); - d->defaultAnimationsForSource.insert(sourceState, animation); -} - - -/*! - Returns the list of default animations that will be considered for any transition with - the source state \a sourceState. -*/ -QList<QAbstractAnimation*> QStateMachine::defaultAnimationsForSourceState(QAbstractState *sourceState) const -{ - Q_D(const QStateMachine); - return d->defaultAnimationsForSource.values(sourceState); -} - -/*! - Removes \a animation from the list of default animations for the source state - \a sourceState. -*/ -void QStateMachine::removeDefaultAnimationForSourceState(QAbstractState *sourceState, - QAbstractAnimation *animation) -{ - Q_D(QStateMachine); - d->defaultAnimationsForSource.remove(sourceState, animation); -} - -/*! - Adds a default \a animation to be considered for any transition with the target state - \a targetState. -*/ -void QStateMachine::addDefaultAnimationForTargetState(QAbstractState *targetState, - QAbstractAnimation *animation) -{ - Q_D(QStateMachine); - d->defaultAnimationsForTarget.insert(targetState, animation); -} - -/*! - Returns the list of default animations that will be considered for any transition with - the target state \a targetState. -*/ -QList<QAbstractAnimation *> QStateMachine::defaultAnimationsForTargetState(QAbstractState *targetState) const -{ - Q_D(const QStateMachine); - return d->defaultAnimationsForTarget.values(targetState); -} - -/*! - Removes \a animation from the list of default animations for the target state - \a targetState. -*/ -void QStateMachine::removeDefaultAnimationForTargetState(QAbstractState *targetState, - QAbstractAnimation *animation) -{ - Q_D(QStateMachine); - d->defaultAnimationsForTarget.remove(targetState, animation); -} - #endif // QT_NO_ANIMATION |