summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/statemachine/qstatemachine.cpp66
-rw-r--r--src/corelib/statemachine/qstatemachine.h8
2 files changed, 0 insertions, 74 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
diff --git a/src/corelib/statemachine/qstatemachine.h b/src/corelib/statemachine/qstatemachine.h
index 3ad215b..bbe85e2 100644
--- a/src/corelib/statemachine/qstatemachine.h
+++ b/src/corelib/statemachine/qstatemachine.h
@@ -114,14 +114,6 @@ public:
void addDefaultAnimation(QAbstractAnimation *animation);
QList<QAbstractAnimation *> defaultAnimations() const;
void removeDefaultAnimation(QAbstractAnimation *animation);
-
- void addDefaultAnimationForSourceState(QAbstractState *sourceState, QAbstractAnimation *animation);
- QList<QAbstractAnimation *> defaultAnimationsForSourceState(QAbstractState *sourceState) const;
- void removeDefaultAnimationForSourceState(QAbstractState *sourceState, QAbstractAnimation *animation);
-
- void addDefaultAnimationForTargetState(QAbstractState *targetState, QAbstractAnimation *animation);
- QList<QAbstractAnimation *> defaultAnimationsForTargetState(QAbstractState *targetState) const;
- void removeDefaultAnimationForTargetState(QAbstractState *targetState, QAbstractAnimation *animation);
#endif // QT_NO_ANIMATION
QStateMachine::RestorePolicy globalRestorePolicy() const;