Commit 96690963 authored by ck's avatar ck
Browse files

Fix compilation with namespaced Qt.

parent b5646d35
......@@ -4,8 +4,7 @@
#include "debuggeruiswitcher.h"
#include <utils/fancymainwindow.h>
class QMenu;
QT_FORWARD_DECLARE_CLASS(QMenu);
namespace Debugger {
......
......@@ -13,10 +13,10 @@ namespace Core {
class Command;
}
class QAction;
class QDockWidget;
class QStackedWidget;
class QComboBox;
QT_FORWARD_DECLARE_CLASS(Action);
QT_FORWARD_DECLARE_CLASS(QDockWidget);
QT_FORWARD_DECLARE_CLASS(QStackedWidget);
QT_FORWARD_DECLARE_CLASS(QComboBox);
namespace Debugger {
class DebuggerMainWindow;
......
......@@ -7,7 +7,7 @@
#include <QScriptEngine>
#include <private/qmllistmodel_p.h>
class QMimeData;
QT_FORWARD_DECLARE_CLASS(QMimeData);
namespace QmlDesigner {
......
......@@ -36,7 +36,7 @@
#include <QDebug>
#include <QTimeLine>
class QLabel;
QT_FORWARD_DECLARE_CLASS(QLabel);
namespace QmlDesigner {
......
......@@ -33,8 +33,8 @@
#include <QtCore/QObject>
class QTextEdit;
class RunControl;
QT_FORWARD_DECLARE_CLASS(QTextEdit);
QT_FORWARD_DECLARE_CLASS(RunControl);
namespace Qml {
......
......@@ -55,6 +55,7 @@ class ObjectPropertiesView;
class CanvasFrameRate;
class ExpressionQueryWidget;
QT_END_NAMESPACE
namespace Qml {
class EngineSpinBox;
......@@ -112,6 +113,4 @@ private:
}
QT_END_NAMESPACE
#endif
......@@ -35,18 +35,16 @@
#include <QtCore/QPointer>
#include <QtCore/QTimer>
QT_BEGIN_NAMESPACE
QT_FORWARD_DECLARE_CLASS(QStringList);
class QStringList;
namespace Core {
class IMode;
}
namespace ProjectExplorer {
class Project;
}
namespace Core {
class IMode;
}
namespace Qml {
class QmlInspector;
class InspectorOutputPane;
......@@ -83,6 +81,4 @@ private:
}
QT_END_NAMESPACE
#endif // QMLINSPECTORPLUGIN_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment