summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/pathview
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-04-23 04:04:28 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-04-23 04:04:28 (GMT)
commitccb43676bbe2f787eec90812e7f5af06f1bc3857 (patch)
tree672597e91d704147dd0dcd37780708434d253e10 /tests/auto/declarative/pathview
parentf494ca8c6e438b0099a7b36d93e38453726f6cb2 (diff)
downloadQt-ccb43676bbe2f787eec90812e7f5af06f1bc3857.zip
Qt-ccb43676bbe2f787eec90812e7f5af06f1bc3857.tar.gz
Qt-ccb43676bbe2f787eec90812e7f5af06f1bc3857.tar.bz2
Make declarative autotests compile.
No guarentees are made as to whether they pass.
Diffstat (limited to 'tests/auto/declarative/pathview')
-rw-r--r--tests/auto/declarative/pathview/tst_pathview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/declarative/pathview/tst_pathview.cpp b/tests/auto/declarative/pathview/tst_pathview.cpp
index 4d58e57..110d129 100644
--- a/tests/auto/declarative/pathview/tst_pathview.cpp
+++ b/tests/auto/declarative/pathview/tst_pathview.cpp
@@ -109,7 +109,7 @@ void tst_QFxPathView::items()
model.addItem("Bob", "54321");
QmlContext *ctxt = canvas->rootContext();
- ctxt->setProperty("testModel", &model);
+ ctxt->setContextProperty("testModel", &model);
canvas->execute();
qApp->processEvents();
@@ -142,7 +142,7 @@ void tst_QFxPathView::pathMoved()
model.addItem("Bill", "4321");
QmlContext *ctxt = canvas->rootContext();
- ctxt->setProperty("testModel", &model);
+ ctxt->setContextProperty("testModel", &model);
canvas->execute();
qApp->processEvents();
@@ -183,7 +183,7 @@ void tst_QFxPathView::limitedItems()
model.addItem("Bob", QString::number(i));
QmlContext *ctxt = canvas->rootContext();
- ctxt->setProperty("testModel", &model);
+ ctxt->setContextProperty("testModel", &model);
canvas->execute();
qApp->processEvents();