aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/particles/qsgage/tst_qsgage.cpp
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2011-10-14 10:51:42 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-21 11:53:26 +0200
commitbfb3c424abc7c839dc44de0e36024ede99ece736 (patch)
treeb6814d0238bead8518b23c078beb818432de6ce4 /tests/auto/particles/qsgage/tst_qsgage.cpp
parent2d119a137f1bc0c8b1113cd6c58413a1b89a4c1c (diff)
Rename Qt Quick-specific classes to QQuick*
The QSG (SceneGraph) prefix is too generic for Qt Quick(2)-specific classes. All the classes and files in the declarative/items directory have been renamed. In particular, for classes that are currently public, the renaming is as follows: QSGView --> QQuickView QSGCanvas --> QQuickCanvas QSGItem --> QQuickItem QSGPaintedItem --> QQuickPaintedItem The header files have been renamed accordingly (e.g. qsgview.h --> qquickview.h). Change-Id: Iac937fff81db20bb639486a793c3aeb5230b038c Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Diffstat (limited to 'tests/auto/particles/qsgage/tst_qsgage.cpp')
-rw-r--r--tests/auto/particles/qsgage/tst_qsgage.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/particles/qsgage/tst_qsgage.cpp b/tests/auto/particles/qsgage/tst_qsgage.cpp
index faa267560b..7dc3e6ae60 100644
--- a/tests/auto/particles/qsgage/tst_qsgage.cpp
+++ b/tests/auto/particles/qsgage/tst_qsgage.cpp
@@ -64,7 +64,7 @@ tst_qsgage::tst_qsgage()
void tst_qsgage::test_kill()
{
- QSGView* view = createView(QCoreApplication::applicationDirPath() + "/data/kill.qml", 600);
+ QQuickView* view = createView(QCoreApplication::applicationDirPath() + "/data/kill.qml", 600);
QSGParticleSystem* system = view->rootObject()->findChild<QSGParticleSystem*>("system");
ensureAnimTime(600, system->m_animation);
@@ -88,7 +88,7 @@ void tst_qsgage::test_kill()
void tst_qsgage::test_jump()
{
- QSGView* view = createView(QCoreApplication::applicationDirPath() + "/data/jump.qml", 600);
+ QQuickView* view = createView(QCoreApplication::applicationDirPath() + "/data/jump.qml", 600);
QSGParticleSystem* system = view->rootObject()->findChild<QSGParticleSystem*>("system");
ensureAnimTime(600, system->m_animation);
@@ -113,7 +113,7 @@ void tst_qsgage::test_jump()
void tst_qsgage::test_onceOff()
{
- QSGView* view = createView(QCoreApplication::applicationDirPath() + "/data/onceoff.qml", 600);
+ QQuickView* view = createView(QCoreApplication::applicationDirPath() + "/data/onceoff.qml", 600);
QSGParticleSystem* system = view->rootObject()->findChild<QSGParticleSystem*>("system");
ensureAnimTime(600, system->m_animation);
@@ -137,7 +137,7 @@ void tst_qsgage::test_onceOff()
void tst_qsgage::test_sustained()
{
- QSGView* view = createView(QCoreApplication::applicationDirPath() + "/data/sustained.qml", 600);
+ QQuickView* view = createView(QCoreApplication::applicationDirPath() + "/data/sustained.qml", 600);
QSGParticleSystem* system = view->rootObject()->findChild<QSGParticleSystem*>("system");
ensureAnimTime(600, system->m_animation);
//TODO: Ensure some particles have lived to 0.4s point despite unified timer