From d6cc95cee7c42803793a70988d85e2d3164b17f7 Mon Sep 17 00:00:00 2001 From: Alan Alpert Date: Tue, 25 Oct 2011 07:57:54 +1000 Subject: Rename QSG* to QQuick* in particles folder Change-Id: I793eaf16f3810df0cb0f9f8482ac0b9d6137595d Reviewed-by: Alan Alpert --- tests/benchmarks/particles/affectors/tst_affectors.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/benchmarks/particles/affectors/tst_affectors.cpp') diff --git a/tests/benchmarks/particles/affectors/tst_affectors.cpp b/tests/benchmarks/particles/affectors/tst_affectors.cpp index 18068b2be2..bd9e4e1d6c 100644 --- a/tests/benchmarks/particles/affectors/tst_affectors.cpp +++ b/tests/benchmarks/particles/affectors/tst_affectors.cpp @@ -83,7 +83,7 @@ void tst_affectors::test_basic() { QFETCH(int, dt); QQuickView* view = createView(QCoreApplication::applicationDirPath() + "/data/basic.qml"); - QSGParticleSystem* system = view->rootObject()->findChild("system"); + QQuickParticleSystem* system = view->rootObject()->findChild("system"); //Pretend we're running, but we manually advance the simulation system->m_running = true; system->m_animation = 0; @@ -99,7 +99,7 @@ void tst_affectors::test_basic() int stillAlive = 0; QVERIFY(extremelyFuzzyCompare(system->groupData[0]->size(), 1000, 10));//Small simulation variance is permissible. - foreach (QSGParticleData *d, system->groupData[0]->data) { + foreach (QQuickParticleData *d, system->groupData[0]->data) { if (d->t == -1) continue; //Particle data unused @@ -123,7 +123,7 @@ void tst_affectors::test_filtered() { QFETCH(int, dt); QQuickView* view = createView(QCoreApplication::applicationDirPath() + "/data/filtered.qml"); - QSGParticleSystem* system = view->rootObject()->findChild("system"); + QQuickParticleSystem* system = view->rootObject()->findChild("system"); //Pretend we're running, but we manually advance the simulation system->m_running = true; system->m_animation = 0; @@ -139,7 +139,7 @@ void tst_affectors::test_filtered() int stillAlive = 0; QVERIFY(extremelyFuzzyCompare(system->groupData[1]->size(), 1000, 10));//Small simulation variance is permissible. - foreach (QSGParticleData *d, system->groupData[1]->data) { + foreach (QQuickParticleData *d, system->groupData[1]->data) { if (d->t == -1) continue; //Particle data unused -- cgit v1.2.3