summaryrefslogtreecommitdiffstats
path: root/tools/qml/qmlruntime.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-04-15 08:23:33 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-04-15 08:23:33 (GMT)
commitb9f71669979f7e892e3af3197915bb732ab0f243 (patch)
tree52abed421dd60c8f41db08e8f2290a8949052cfc /tools/qml/qmlruntime.h
parent2c9ff8dc79b69b310a568f7457838753abbf2178 (diff)
downloadQt-b9f71669979f7e892e3af3197915bb732ab0f243.zip
Qt-b9f71669979f7e892e3af3197915bb732ab0f243.tar.gz
Qt-b9f71669979f7e892e3af3197915bb732ab0f243.tar.bz2
Update examples autotest to use the runtime directly
This improves the test execution time
Diffstat (limited to 'tools/qml/qmlruntime.h')
-rw-r--r--tools/qml/qmlruntime.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/qml/qmlruntime.h b/tools/qml/qmlruntime.h
index 8792d0c..2089dda 100644
--- a/tools/qml/qmlruntime.h
+++ b/tools/qml/qmlruntime.h
@@ -105,10 +105,11 @@ public:
QMenuBar *menuBar() const;
+ QDeclarativeView *view() const;
+
public slots:
void sceneResized(QSize size);
- void open(const QString&);
- void openQml(const QString&);
+ bool open(const QString&);
void openFile();
void reload();
void takeSnapShot();