From 2b508c59bd676bc8a44897c1ddf4a8ad14177905 Mon Sep 17 00:00:00 2001 From: Charles Yin Date: Tue, 21 Feb 2012 11:06:57 +1000 Subject: Renames QAnimation2ChangeListener to QAnimationJobChangeListener Change-Id: I921b252380d095fb878b4e5d36df0b5a13a3888f Reviewed-by: Michael Brasser --- .../animation/qanimationgroupjob/tst_qanimationgroupjob.cpp | 2 +- .../qparallelanimationgroupjob/tst_qparallelanimationgroupjob.cpp | 4 ++-- .../tst_qsequentialanimationgroupjob.cpp | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'tests/auto') 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 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 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) {} -- cgit v1.2.3