summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/graphicswidgets/tst_graphicswidgets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/graphicswidgets/tst_graphicswidgets.cpp')
-rw-r--r--tests/auto/declarative/graphicswidgets/tst_graphicswidgets.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/declarative/graphicswidgets/tst_graphicswidgets.cpp b/tests/auto/declarative/graphicswidgets/tst_graphicswidgets.cpp
index cb618c6..a85ceed 100644
--- a/tests/auto/declarative/graphicswidgets/tst_graphicswidgets.cpp
+++ b/tests/auto/declarative/graphicswidgets/tst_graphicswidgets.cpp
@@ -40,9 +40,9 @@
****************************************************************************/
#include <qtest.h>
#include <QFile>
-#include <QtDeclarative/qmlengine.h>
-#include <QtDeclarative/qmlcomponent.h>
-#include <private/graphicswidgets_p.h>
+#include <QtDeclarative/qdeclarativeengine.h>
+#include <QtDeclarative/qdeclarativecomponent.h>
+#include <QtGui/qgraphicsview.h>
class tst_graphicswidgets : public QObject
@@ -61,8 +61,8 @@ tst_graphicswidgets::tst_graphicswidgets()
void tst_graphicswidgets::widgets()
{
- QmlEngine engine;
- QmlComponent c(&engine, QUrl::fromLocalFile(SRCDIR "/data/graphicswidgets.qml"));
+ QDeclarativeEngine engine;
+ QDeclarativeComponent c(&engine, QUrl::fromLocalFile(SRCDIR "/data/graphicswidgets.qml"));
QGraphicsView *obj = qobject_cast<QGraphicsView*>(c.create());
QVERIFY(obj != 0);