From 973fb0680d6a8c50f128d8a094231372bcfe3552 Mon Sep 17 00:00:00 2001 From: Michael Goddard Date: Thu, 22 Dec 2011 15:48:21 +1000 Subject: Fix namespace compilation. By removing unnamespaced forward decls. Change-Id: Icccb34092ef7451d29f52db08811a2152c50e4b8 Reviewed-by: Jonas Rabbe --- examples/video/qmlvideo/qmlapplicationviewer/qmlapplicationviewer.h | 3 +-- examples/video/qmlvideofx/qmlapplicationviewer/qmlapplicationviewer.h | 3 +-- examples/video/snippets/frequencymonitor/frequencymonitor.h | 3 +-- examples/video/snippets/performancemonitor/performancemonitor.cpp | 1 - examples/video/snippets/performancemonitor/performancemonitor.h | 2 +- 5 files changed, 4 insertions(+), 8 deletions(-) (limited to 'examples') 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 - -class QGuiApplication; +#include 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 - -class QGuiApplication; +#include 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 - -class QTimer; +#include 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 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 namespace PerformanceMonitor { struct State { -- cgit v1.2.3