diff options
author | Charles Yin <charles.yin@nokia.com> | 2012-02-21 11:06:57 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-21 05:35:37 +0100 |
commit | 2b508c59bd676bc8a44897c1ddf4a8ad14177905 (patch) | |
tree | eacebd46732fbecadf83b8e147c1bab648a0832c /tests | |
parent | 15bb4b57e808cbff2a92cf8132958dc924db5a60 (diff) |
Renames QAnimation2ChangeListener to QAnimationJobChangeListener
Change-Id: I921b252380d095fb878b4e5d36df0b5a13a3888f
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Diffstat (limited to 'tests')
3 files changed, 7 insertions, 7 deletions
diff --git a/tests/auto/declarative/animation/qanimationgroupjob/tst_qanimationgroupjob.cpp b/tests/auto/declarative/animation/qanimationgroupjob/tst_qanimationgroupjob.cpp index 196f917a1f..2bb974af7d 100644 --- a/tests/auto/declarative/animation/qanimationgroupjob/tst_qanimationgroupjob.cpp +++ b/tests/auto/declarative/animation/qanimationgroupjob/tst_qanimationgroupjob.cpp @@ -112,7 +112,7 @@ private: int id; }; -class StateChangeListener: public QAnimation2ChangeListener +class StateChangeListener: public QAnimationJobChangeListener { public: virtual void animationStateChanged(QAbstractAnimationJob *, QAbstractAnimationJob::State newState, QAbstractAnimationJob::State) diff --git a/tests/auto/declarative/animation/qparallelanimationgroupjob/tst_qparallelanimationgroupjob.cpp b/tests/auto/declarative/animation/qparallelanimationgroupjob/tst_qparallelanimationgroupjob.cpp index 52c0ff284e..ef24182115 100644 --- a/tests/auto/declarative/animation/qparallelanimationgroupjob/tst_qparallelanimationgroupjob.cpp +++ b/tests/auto/declarative/animation/qparallelanimationgroupjob/tst_qparallelanimationgroupjob.cpp @@ -128,7 +128,7 @@ private: int id; }; -class StateChangeListener: public QAnimation2ChangeListener +class StateChangeListener: public QAnimationJobChangeListener { public: virtual void animationStateChanged(QAbstractAnimationJob *, QAbstractAnimationJob::State newState, QAbstractAnimationJob::State) @@ -142,7 +142,7 @@ public: QList<QAbstractAnimationJob::State> states; }; -class FinishedListener: public QAnimation2ChangeListener +class FinishedListener: public QAnimationJobChangeListener { public: FinishedListener() : m_count(0) {} diff --git a/tests/auto/declarative/animation/qsequentialanimationgroupjob/tst_qsequentialanimationgroupjob.cpp b/tests/auto/declarative/animation/qsequentialanimationgroupjob/tst_qsequentialanimationgroupjob.cpp index 895e4f849e..d5a9b07f8f 100644 --- a/tests/auto/declarative/animation/qsequentialanimationgroupjob/tst_qsequentialanimationgroupjob.cpp +++ b/tests/auto/declarative/animation/qsequentialanimationgroupjob/tst_qsequentialanimationgroupjob.cpp @@ -135,7 +135,7 @@ protected: } }; -class StateChangeListener: public QAnimation2ChangeListener +class StateChangeListener: public QAnimationJobChangeListener { public: virtual void animationStateChanged(QAbstractAnimationJob *, QAbstractAnimationJob::State newState, QAbstractAnimationJob::State) @@ -149,7 +149,7 @@ public: QList<QAbstractAnimationJob::State> states; }; -class FinishedListener: public QAnimation2ChangeListener +class FinishedListener: public QAnimationJobChangeListener { public: FinishedListener() : m_count(0) {} @@ -1520,7 +1520,7 @@ void tst_QSequentialAnimationGroupJob::insertAnimation() group.appendAnimation(new TestAnimation); } -class ClearFinishedListener: public QAnimation2ChangeListener +class ClearFinishedListener: public QAnimationJobChangeListener { public: ClearFinishedListener(QSequentialAnimationGroupJob *g) : group(g) {} @@ -1533,7 +1533,7 @@ public: QSequentialAnimationGroupJob *group; }; -class RefillFinishedListener: public QAnimation2ChangeListener +class RefillFinishedListener: public QAnimationJobChangeListener { public: RefillFinishedListener(QSequentialAnimationGroupJob *g) : group(g) {} |