diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2011-10-14 10:51:42 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-21 11:53:26 +0200 |
commit | bfb3c424abc7c839dc44de0e36024ede99ece736 (patch) | |
tree | b6814d0238bead8518b23c078beb818432de6ce4 /tests/auto/particles/shared | |
parent | 2d119a137f1bc0c8b1113cd6c58413a1b89a4c1c (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/shared')
-rw-r--r-- | tests/auto/particles/shared/particlestestsshared.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/particles/shared/particlestestsshared.h b/tests/auto/particles/shared/particlestestsshared.h index ed483bae01..ab6b5f16af 100644 --- a/tests/auto/particles/shared/particlestestsshared.h +++ b/tests/auto/particles/shared/particlestestsshared.h @@ -41,7 +41,7 @@ #ifndef PARTICLES_TESTS_SHARED #define PARTICLES_TESTS_SHARED -#include <QSGView> +#include <QQuickView> #include <QtTest> #include <QAbstractAnimation> const qreal EPSILON = 0.0001; @@ -66,12 +66,12 @@ bool myFuzzyGEQ(qreal a, qreal b) return (a + EPSILON > b); } -QSGView* createView(const QString &filename, int additionalWait=0) +QQuickView* createView(const QString &filename, int additionalWait=0) { - QSGView *canvas = new QSGView(0); + QQuickView *canvas = new QQuickView(0); canvas->setSource(QUrl::fromLocalFile(filename)); - if (canvas->status() != QSGView::Ready) + if (canvas->status() != QQuickView::Ready) return 0; canvas->show(); QTest::qWaitForWindowShown(canvas); |