summaryrefslogtreecommitdiffstats
path: root/tools/qmlviewer/qmlviewer.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qmlviewer/qmlviewer.h')
-rw-r--r--tools/qmlviewer/qmlviewer.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/tools/qmlviewer/qmlviewer.h b/tools/qmlviewer/qmlviewer.h
index c7d5c24..717258c 100644
--- a/tools/qmlviewer/qmlviewer.h
+++ b/tools/qmlviewer/qmlviewer.h
@@ -42,6 +42,7 @@
#ifndef QMLVIEWER_H
#define QMLVIEWER_H
+#include <QMainWindow>
#include <QMenuBar>
#include <private/qmltimer_p.h>
#include <QTime>
@@ -56,7 +57,12 @@ class QProcess;
class RecordingDialog;
class QmlGraphicsTester;
-class QmlViewer : public QWidget
+class QmlViewer
+#if defined(Q_OS_SYMBIAN)
+ : public QMainWindow
+#else
+ : public QWidget
+#endif
{
Q_OBJECT
public:
@@ -85,6 +91,7 @@ public:
void setNetworkCacheSize(int size);
void addLibraryPath(const QString& lib);
void setUseGL(bool use);
+ void setUseNativeFileBrowser(bool);
QStringList builtinSkins() const;
@@ -122,6 +129,8 @@ private slots:
void adjustSizeSlot();
void setPortrait();
void setLandscape();
+ void startNetwork();
+ void toggleFullScreen();
private:
void setupProxy();