summaryrefslogtreecommitdiffstats
path: root/tools/qmlviewer/qmlviewer.h
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-12-06 23:50:38 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-12-06 23:50:38 (GMT)
commit1f002c8af75f0c66ab2c8581421c29320241a7aa (patch)
treedf18354ff70aaea5b853557666e99ed4a9386b5c /tools/qmlviewer/qmlviewer.h
parent9c5fa063666c31c2dd3a15d40038f73788a14dda (diff)
downloadQt-1f002c8af75f0c66ab2c8581421c29320241a7aa.zip
Qt-1f002c8af75f0c66ab2c8581421c29320241a7aa.tar.gz
Qt-1f002c8af75f0c66ab2c8581421c29320241a7aa.tar.bz2
Add QML based file browser to qmlviewer.
Diffstat (limited to 'tools/qmlviewer/qmlviewer.h')
-rw-r--r--tools/qmlviewer/qmlviewer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/qmlviewer/qmlviewer.h b/tools/qmlviewer/qmlviewer.h
index 6e31db54..c7d5c24 100644
--- a/tools/qmlviewer/qmlviewer.h
+++ b/tools/qmlviewer/qmlviewer.h
@@ -105,6 +105,7 @@ public slots:
void setScaleView();
void executeErrors();
void setSlowMode(bool);
+ void launch(const QString &);
protected:
virtual void keyPressEvent(QKeyEvent *);
@@ -162,6 +163,8 @@ private:
QString m_script;
ScriptOptions m_scriptOptions;
QmlGraphicsTester *tester;
+
+ bool useQmlFileBrowser;
};
Q_DECLARE_OPERATORS_FOR_FLAGS(QmlViewer::ScriptOptions)