summaryrefslogtreecommitdiffstats
path: root/tools/qmlviewer/qmlviewer.cpp
diff options
context:
space:
mode:
authorWolfgang Beck <wolfgang.beck@nokia.com>2010-02-10 23:41:37 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-02-16 00:53:36 (GMT)
commitc6ba330bc92ad8704f53a79f8f79d87c22b1db1e (patch)
treea2a5fe116c6d10ef5239a4352aa0215325500861 /tools/qmlviewer/qmlviewer.cpp
parent4460d24950614bd7c60ad7ec14e0418f1b06cc86 (diff)
downloadQt-c6ba330bc92ad8704f53a79f8f79d87c22b1db1e.zip
Qt-c6ba330bc92ad8704f53a79f8f79d87c22b1db1e.tar.gz
Qt-c6ba330bc92ad8704f53a79f8f79d87c22b1db1e.tar.bz2
MOBILITY-404 QS Windows.
Diffstat (limited to 'tools/qmlviewer/qmlviewer.cpp')
-rw-r--r--tools/qmlviewer/qmlviewer.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/qmlviewer/qmlviewer.cpp b/tools/qmlviewer/qmlviewer.cpp
index 8b3b7aa..7c620ef 100644
--- a/tools/qmlviewer/qmlviewer.cpp
+++ b/tools/qmlviewer/qmlviewer.cpp
@@ -108,7 +108,6 @@
QT_BEGIN_NAMESPACE
-
class Screen : public QObject
{
Q_OBJECT
@@ -131,7 +130,12 @@ signals:
void orientationChanged();
};
+QT_END_NAMESPACE
+
QML_DECLARE_TYPE(Screen)
+
+QT_BEGIN_NAMESPACE
+
QML_DEFINE_TYPE(QmlViewer, 1, 0, Screen, Screen)
class SizedMenuBar : public QMenuBar