equal
deleted
inserted
replaced
70 QAnimationGroupPrivate() |
70 QAnimationGroupPrivate() |
71 { |
71 { |
72 isGroup = true; |
72 isGroup = true; |
73 } |
73 } |
74 |
74 |
75 virtual void animationInsertedAt(int index) { Q_UNUSED(index) }; |
75 virtual void animationInsertedAt(int) { } |
76 virtual void animationRemovedAt(int index); |
76 virtual void animationRemoved(int, QAbstractAnimation *); |
|
77 |
|
78 void disconnectUncontrolledAnimation(QAbstractAnimation *anim) |
|
79 { |
|
80 //0 for the signal here because we might be called from the animation destructor |
|
81 QObject::disconnect(anim, 0, q_func(), SLOT(_q_uncontrolledAnimationFinished())); |
|
82 } |
|
83 |
|
84 void connectUncontrolledAnimation(QAbstractAnimation *anim) |
|
85 { |
|
86 QObject::connect(anim, SIGNAL(finished()), q_func(), SLOT(_q_uncontrolledAnimationFinished())); |
|
87 } |
77 |
88 |
78 QList<QAbstractAnimation *> animations; |
89 QList<QAbstractAnimation *> animations; |
79 }; |
90 }; |
80 |
91 |
81 QT_END_NAMESPACE |
92 QT_END_NAMESPACE |