Fix namespace compilation.

By removing unnamespaced forward decls.

Change-Id: Icccb34092ef7451d29f52db08811a2152c50e4b8
Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
This commit is contained in:
Michael Goddard
2011-12-22 15:48:21 +10:00
committed by Qt by Nokia
parent 2307825461
commit 973fb0680d
5 changed files with 4 additions and 8 deletions

View File

@@ -43,8 +43,7 @@
#define QMLAPPLICATIONVIEWER_H #define QMLAPPLICATIONVIEWER_H
#include <QtQuick/QQuickView> #include <QtQuick/QQuickView>
#include <QtGui/QGuiApplication>
class QGuiApplication;
class QmlApplicationViewer : public QQuickView class QmlApplicationViewer : public QQuickView
{ {

View File

@@ -43,8 +43,7 @@
#define QMLAPPLICATIONVIEWER_H #define QMLAPPLICATIONVIEWER_H
#include <QtQuick/QQuickView> #include <QtQuick/QQuickView>
#include <QtGui/QGuiApplication>
class QGuiApplication;
class QmlApplicationViewer : public QQuickView class QmlApplicationViewer : public QQuickView
{ {

View File

@@ -43,8 +43,7 @@
#define FREQUENCYMONITOR_H #define FREQUENCYMONITOR_H
#include <QtCore/QObject> #include <QtCore/QObject>
#include <QtCore/QTimer>
class QTimer;
class FrequencyMonitorPrivate; class FrequencyMonitorPrivate;

View File

@@ -40,7 +40,6 @@
****************************************************************************/ ****************************************************************************/
#include "performancemonitor.h" #include "performancemonitor.h"
#include <QtCore/QString>
namespace PerformanceMonitor { namespace PerformanceMonitor {

View File

@@ -42,7 +42,7 @@
#ifndef PERFORMANCEMONITOR_H #ifndef PERFORMANCEMONITOR_H
#define PERFORMANCEMONITOR_H #define PERFORMANCEMONITOR_H
class QString; #include <QtCore/QString>
namespace PerformanceMonitor { namespace PerformanceMonitor {
struct State { struct State {