summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks
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/benchmarks
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/benchmarks')
-rw-r--r--tests/benchmarks/particles/affectors/tst_affectors.cpp4
-rw-r--r--tests/benchmarks/particles/emission/tst_emission.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/benchmarks/particles/affectors/tst_affectors.cpp b/tests/benchmarks/particles/affectors/tst_affectors.cpp
index f85f877c51..18068b2be2 100644
--- a/tests/benchmarks/particles/affectors/tst_affectors.cpp
+++ b/tests/benchmarks/particles/affectors/tst_affectors.cpp
@@ -82,7 +82,7 @@ void tst_affectors::test_filtered_data()
void tst_affectors::test_basic()
{
QFETCH(int, dt);
- QSGView* view = createView(QCoreApplication::applicationDirPath() + "/data/basic.qml");
+ QQuickView* view = createView(QCoreApplication::applicationDirPath() + "/data/basic.qml");
QSGParticleSystem* system = view->rootObject()->findChild<QSGParticleSystem*>("system");
//Pretend we're running, but we manually advance the simulation
system->m_running = true;
@@ -122,7 +122,7 @@ void tst_affectors::test_basic()
void tst_affectors::test_filtered()
{
QFETCH(int, dt);
- QSGView* view = createView(QCoreApplication::applicationDirPath() + "/data/filtered.qml");
+ QQuickView* view = createView(QCoreApplication::applicationDirPath() + "/data/filtered.qml");
QSGParticleSystem* system = view->rootObject()->findChild<QSGParticleSystem*>("system");
//Pretend we're running, but we manually advance the simulation
system->m_running = true;
diff --git a/tests/benchmarks/particles/emission/tst_emission.cpp b/tests/benchmarks/particles/emission/tst_emission.cpp
index 66ce547dd2..01e2476431 100644
--- a/tests/benchmarks/particles/emission/tst_emission.cpp
+++ b/tests/benchmarks/particles/emission/tst_emission.cpp
@@ -73,7 +73,7 @@ void tst_emission::test_basic_data()
void tst_emission::test_basic()
{
QFETCH(int, dt);
- QSGView* view = createView(QCoreApplication::applicationDirPath() + "/data/basic.qml");
+ QQuickView* view = createView(QCoreApplication::applicationDirPath() + "/data/basic.qml");
QSGParticleSystem* system = view->rootObject()->findChild<QSGParticleSystem*>("system");
//Pretend we're running, but we manually advance the simulation
system->m_running = true;