diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-01-05 05:55:58 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-01-05 05:55:58 (GMT) |
commit | 027a3a94955127712a76f15430a1f6cc0288722e (patch) | |
tree | 20f5ff73b9dca7210e69f78c6f6a0c0ac088b415 /tools/qmlviewer/qmlviewer.h | |
parent | 186cdd1c29f1c708455ec2f0771a6eb600d4a075 (diff) | |
download | Qt-027a3a94955127712a76f15430a1f6cc0288722e.zip Qt-027a3a94955127712a76f15430a1f6cc0288722e.tar.gz Qt-027a3a94955127712a76f15430a1f6cc0288722e.tar.bz2 |
Basic WGT/WGZ support.
Task-number: QT-524
Diffstat (limited to 'tools/qmlviewer/qmlviewer.h')
-rw-r--r-- | tools/qmlviewer/qmlviewer.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/qmlviewer/qmlviewer.h b/tools/qmlviewer/qmlviewer.h index 717258c..39bedc3 100644 --- a/tools/qmlviewer/qmlviewer.h +++ b/tools/qmlviewer/qmlviewer.h @@ -56,6 +56,7 @@ class QmlGraphicsTestEngine; class QProcess; class RecordingDialog; class QmlGraphicsTester; +class QNetworkReply; class QmlViewer #if defined(Q_OS_SYMBIAN) @@ -99,8 +100,10 @@ public: public slots: void sceneResized(QSize size); + void open(const QString&); + void openWgt(const QString&); void openQml(const QString&); - void open(); + void openFile(); void reload(); void takeSnapShot(); void toggleRecording(); @@ -131,6 +134,7 @@ private slots: void setLandscape(); void startNetwork(); void toggleFullScreen(); + void unpackWgt(); private: void setupProxy(); @@ -173,6 +177,9 @@ private: ScriptOptions m_scriptOptions; QmlGraphicsTester *tester; + QNetworkReply *wgtreply; + QString wgtdir; + bool useQmlFileBrowser; }; Q_DECLARE_OPERATORS_FOR_FLAGS(QmlViewer::ScriptOptions) |