aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorCharles Yin <charles.yin@nokia.com>2012-02-21 11:06:57 +1000
committerQt by Nokia <qt-info@nokia.com>2012-02-21 05:35:37 +0100
commit2b508c59bd676bc8a44897c1ddf4a8ad14177905 (patch)
treeeacebd46732fbecadf83b8e147c1bab648a0832c /tests/auto
parent15bb4b57e808cbff2a92cf8132958dc924db5a60 (diff)
Renames QAnimation2ChangeListener to QAnimationJobChangeListener
Change-Id: I921b252380d095fb878b4e5d36df0b5a13a3888f Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/declarative/animation/qanimationgroupjob/tst_qanimationgroupjob.cpp2
-rw-r--r--tests/auto/declarative/animation/qparallelanimationgroupjob/tst_qparallelanimationgroupjob.cpp4
-rw-r--r--tests/auto/declarative/animation/qsequentialanimationgroupjob/tst_qsequentialanimationgroupjob.cpp8
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) {}