Fix namespace compilation.
authorMichael Goddard <michael.goddard@nokia.com>
Thu, 22 Dec 2011 05:48:21 +0000 (15:48 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 22 Dec 2011 06:23:35 +0000 (07:23 +0100)
By removing unnamespaced forward decls.

Change-Id: Icccb34092ef7451d29f52db08811a2152c50e4b8
Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
examples/video/qmlvideo/qmlapplicationviewer/qmlapplicationviewer.h
examples/video/qmlvideofx/qmlapplicationviewer/qmlapplicationviewer.h
examples/video/snippets/frequencymonitor/frequencymonitor.h
examples/video/snippets/performancemonitor/performancemonitor.cpp
examples/video/snippets/performancemonitor/performancemonitor.h

index 9d8bd3216936aa60bf3c1de4cbe39a30243ad456..9abde2d29a3f2fc4e57715c99d26a176193e06fd 100644 (file)
@@ -43,8 +43,7 @@
 #define QMLAPPLICATIONVIEWER_H
 
 #include <QtQuick/QQuickView>
-
-class QGuiApplication;
+#include <QtGui/QGuiApplication>
 
 class QmlApplicationViewer : public QQuickView
 {
index 9d8bd3216936aa60bf3c1de4cbe39a30243ad456..9abde2d29a3f2fc4e57715c99d26a176193e06fd 100644 (file)
@@ -43,8 +43,7 @@
 #define QMLAPPLICATIONVIEWER_H
 
 #include <QtQuick/QQuickView>
-
-class QGuiApplication;
+#include <QtGui/QGuiApplication>
 
 class QmlApplicationViewer : public QQuickView
 {
index a949e55d4a4e453babfe2990a72282dfa4a534c6..454633a6cf31da14b22a895547fd224b202335f4 100644 (file)
@@ -43,8 +43,7 @@
 #define FREQUENCYMONITOR_H
 
 #include <QtCore/QObject>
-
-class QTimer;
+#include <QtCore/QTimer>
 
 class FrequencyMonitorPrivate;
 
index 73ebe291f9ab734a4a35a5e19e90dd776c892a18..41a2d34b3f006cbb4a7fccfefe1c027f9a136cfe 100644 (file)
@@ -40,7 +40,6 @@
 ****************************************************************************/
 
 #include "performancemonitor.h"
-#include <QtCore/QString>
 
 namespace PerformanceMonitor {
 
index 59e90550f02c9250e00b0e3222862df6a02f332f..785f6338998559cb5c0aced689df68069bf94167 100644 (file)
@@ -42,7 +42,7 @@
 #ifndef PERFORMANCEMONITOR_H
 #define PERFORMANCEMONITOR_H
 
-class QString;
+#include <QtCore/QString>
 
 namespace PerformanceMonitor {
     struct State {