28 Q_DISABLE_COPY(QAnimationGroupJob)
30 using Children = QDoubleEndedList<QAbstractAnimationJob>;
33 ~QAnimationGroupJob() override;
35 void appendAnimation(QAbstractAnimationJob *animation);
36 void prependAnimation(QAbstractAnimationJob *animation);
37 void removeAnimation(QAbstractAnimationJob *animation);
39 Children *children() {
return &m_children; }
40 const Children *children()
const {
return &m_children; }
45 virtual void uncontrolledAnimationFinished(QAbstractAnimationJob *animation);
47 void topLevelAnimationLoopChanged() override;
49 virtual void animationInserted(QAbstractAnimationJob*) { }
50 virtual void animationRemoved(QAbstractAnimationJob*, QAbstractAnimationJob*, QAbstractAnimationJob*);
53 void resetUncontrolledAnimationsFinishTime();
54 void resetUncontrolledAnimationFinishTime(QAbstractAnimationJob *anim);
55 int uncontrolledAnimationFinishTime(
const QAbstractAnimationJob *anim)
const
57 return anim->m_uncontrolledFinishTime;
59 void setUncontrolledAnimationFinishTime(QAbstractAnimationJob *anim,
int time);
61 void debugChildren(QDebug d)
const;
63 void ungroupChild(QAbstractAnimationJob *animation);
64 void handleAnimationRemoved(QAbstractAnimationJob *animation);