summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMichael Goddard <michael.goddard@nokia.com>2011-12-22 15:48:21 +1000
committerQt by Nokia <qt-info@nokia.com>2011-12-22 07:23:35 +0100
commit973fb0680d6a8c50f128d8a094231372bcfe3552 (patch)
treeb3dbf74340b1ec983c6e0ebe388bfda2b1f61d1e /examples
parent230782546145e164ec38eb03e37c945aa059d393 (diff)
Fix namespace compilation.
By removing unnamespaced forward decls. Change-Id: Icccb34092ef7451d29f52db08811a2152c50e4b8 Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/video/qmlvideo/qmlapplicationviewer/qmlapplicationviewer.h3
-rw-r--r--examples/video/qmlvideofx/qmlapplicationviewer/qmlapplicationviewer.h3
-rw-r--r--examples/video/snippets/frequencymonitor/frequencymonitor.h3
-rw-r--r--examples/video/snippets/performancemonitor/performancemonitor.cpp1
-rw-r--r--examples/video/snippets/performancemonitor/performancemonitor.h2
5 files changed, 4 insertions, 8 deletions
diff --git a/examples/video/qmlvideo/qmlapplicationviewer/qmlapplicationviewer.h b/examples/video/qmlvideo/qmlapplicationviewer/qmlapplicationviewer.h
index 9d8bd3216..9abde2d29 100644
--- a/examples/video/qmlvideo/qmlapplicationviewer/qmlapplicationviewer.h
+++ b/examples/video/qmlvideo/qmlapplicationviewer/qmlapplicationviewer.h
@@ -43,8 +43,7 @@
#define QMLAPPLICATIONVIEWER_H
#include <QtQuick/QQuickView>
-
-class QGuiApplication;
+#include <QtGui/QGuiApplication>
class QmlApplicationViewer : public QQuickView
{
diff --git a/examples/video/qmlvideofx/qmlapplicationviewer/qmlapplicationviewer.h b/examples/video/qmlvideofx/qmlapplicationviewer/qmlapplicationviewer.h
index 9d8bd3216..9abde2d29 100644
--- a/examples/video/qmlvideofx/qmlapplicationviewer/qmlapplicationviewer.h
+++ b/examples/video/qmlvideofx/qmlapplicationviewer/qmlapplicationviewer.h
@@ -43,8 +43,7 @@
#define QMLAPPLICATIONVIEWER_H
#include <QtQuick/QQuickView>
-
-class QGuiApplication;
+#include <QtGui/QGuiApplication>
class QmlApplicationViewer : public QQuickView
{
diff --git a/examples/video/snippets/frequencymonitor/frequencymonitor.h b/examples/video/snippets/frequencymonitor/frequencymonitor.h
index a949e55d4..454633a6c 100644
--- a/examples/video/snippets/frequencymonitor/frequencymonitor.h
+++ b/examples/video/snippets/frequencymonitor/frequencymonitor.h
@@ -43,8 +43,7 @@
#define FREQUENCYMONITOR_H
#include <QtCore/QObject>
-
-class QTimer;
+#include <QtCore/QTimer>
class FrequencyMonitorPrivate;
diff --git a/examples/video/snippets/performancemonitor/performancemonitor.cpp b/examples/video/snippets/performancemonitor/performancemonitor.cpp
index 73ebe291f..41a2d34b3 100644
--- a/examples/video/snippets/performancemonitor/performancemonitor.cpp
+++ b/examples/video/snippets/performancemonitor/performancemonitor.cpp
@@ -40,7 +40,6 @@
****************************************************************************/
#include "performancemonitor.h"
-#include <QtCore/QString>
namespace PerformanceMonitor {
diff --git a/examples/video/snippets/performancemonitor/performancemonitor.h b/examples/video/snippets/performancemonitor/performancemonitor.h
index 59e90550f..785f63389 100644
--- a/examples/video/snippets/performancemonitor/performancemonitor.h
+++ b/examples/video/snippets/performancemonitor/performancemonitor.h
@@ -42,7 +42,7 @@
#ifndef PERFORMANCEMONITOR_H
#define PERFORMANCEMONITOR_H
-class QString;
+#include <QtCore/QString>
namespace PerformanceMonitor {
struct State {