diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2009-09-22 04:30:07 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2009-09-22 04:30:07 (GMT) |
commit | 835a83221232d1963d4ab0b9e553cc32cb9bc8c9 (patch) | |
tree | 756aacaaf5ca66abda05070b019212ccff16f9b2 /tests/auto/declarative/repeater | |
parent | ab3634173ba5d5ed084710a32508ea728378d038 (diff) | |
download | Qt-835a83221232d1963d4ab0b9e553cc32cb9bc8c9.zip Qt-835a83221232d1963d4ab0b9e553cc32cb9bc8c9.tar.gz Qt-835a83221232d1963d4ab0b9e553cc32cb9bc8c9.tar.bz2 |
Renaming: QFxView -> QmlView
Diffstat (limited to 'tests/auto/declarative/repeater')
-rw-r--r-- | tests/auto/declarative/repeater/tst_repeater.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/declarative/repeater/tst_repeater.cpp b/tests/auto/declarative/repeater/tst_repeater.cpp index 08f9154..5fce70e 100644 --- a/tests/auto/declarative/repeater/tst_repeater.cpp +++ b/tests/auto/declarative/repeater/tst_repeater.cpp @@ -1,6 +1,6 @@ #include <QtTest/QtTest> #include <qlistmodelinterface.h> -#include <qfxview.h> +#include <qmlview.h> #include <qfxrepeater.h> #include <qfxtext.h> #include <qmlcontext.h> @@ -15,7 +15,7 @@ private slots: void stringList(); private: - QFxView *createView(const QString &filename); + QmlView *createView(const QString &filename); template<typename T> T *findItem(QObject *parent, const QString &id); }; @@ -26,7 +26,7 @@ tst_QFxRepeater::tst_QFxRepeater() void tst_QFxRepeater::stringList() { - QFxView *canvas = createView(SRCDIR "/data/repeater.qml"); + QmlView *canvas = createView(SRCDIR "/data/repeater.qml"); QStringList data; data << "One"; @@ -58,9 +58,9 @@ void tst_QFxRepeater::stringList() } -QFxView *tst_QFxRepeater::createView(const QString &filename) +QmlView *tst_QFxRepeater::createView(const QString &filename) { - QFxView *canvas = new QFxView(0); + QmlView *canvas = new QmlView(0); canvas->setFixedSize(240,320); QFile file(filename); |