forked from qt-creator/qt-creator
QmlJsInspector: Fix compilation breakage on Windows
MSVC doesn't take the 'using namespace' into account in moc file (that isn't in a particular namespace). Move it out of QmlJSDebugger::Internal. Change-Id: Iee4a89a9ecf38607791e1ccf884a15cb8b0892a7 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
@@ -45,6 +45,8 @@ class QmlDebugConnection;
|
||||
class QDebugMessageClient;
|
||||
}
|
||||
|
||||
using namespace QmlDebug;
|
||||
|
||||
namespace Debugger {
|
||||
|
||||
class DebuggerEngine;
|
||||
@@ -54,8 +56,6 @@ class BaseQmlDebuggerClient;
|
||||
class QmlAdapterPrivate;
|
||||
} // namespace Internal
|
||||
|
||||
using namespace QmlDebug;
|
||||
|
||||
class DEBUGGER_EXPORT QmlAdapter : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -38,6 +38,8 @@
|
||||
|
||||
QT_FORWARD_DECLARE_CLASS(QUrl)
|
||||
|
||||
using namespace QmlDebug;
|
||||
|
||||
namespace Debugger {
|
||||
class QmlAdapter;
|
||||
}
|
||||
@@ -53,7 +55,6 @@ namespace Internal {
|
||||
class InspectorPlugin;
|
||||
class QmlToolsClient;
|
||||
|
||||
using namespace QmlDebug;
|
||||
|
||||
class ClientProxy : public QObject
|
||||
{
|
||||
|
||||
@@ -46,6 +46,8 @@
|
||||
#include <QAction>
|
||||
#include <QObject>
|
||||
|
||||
using namespace QmlDebug;
|
||||
|
||||
namespace ProjectExplorer {
|
||||
class Project;
|
||||
class Environment;
|
||||
@@ -73,8 +75,6 @@ class InspectorSettings;
|
||||
class ContextCrumblePath;
|
||||
class QmlJSLiveTextPreview;
|
||||
|
||||
using namespace QmlDebug;
|
||||
|
||||
class InspectorUi : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -43,6 +43,8 @@
|
||||
|
||||
QT_FORWARD_DECLARE_CLASS(QTextDocument)
|
||||
|
||||
using namespace QmlDebug;
|
||||
|
||||
namespace Core {
|
||||
class IEditor;
|
||||
}
|
||||
@@ -56,7 +58,6 @@ namespace Internal {
|
||||
|
||||
class ClientProxy;
|
||||
|
||||
using namespace QmlDebug;
|
||||
|
||||
class QmlJSLiveTextPreview : public QObject
|
||||
{
|
||||
|
||||
@@ -41,6 +41,8 @@
|
||||
|
||||
#include "customcolordialog.h"
|
||||
|
||||
using namespace QmlDebug;
|
||||
|
||||
namespace Utils {
|
||||
class SavedAction;
|
||||
}
|
||||
@@ -48,8 +50,6 @@ class SavedAction;
|
||||
namespace QmlJSInspector {
|
||||
namespace Internal {
|
||||
|
||||
using namespace QmlDebug;
|
||||
|
||||
class PropertyEditDelegate;
|
||||
|
||||
class ExpressionEdit : public QDialog
|
||||
|
||||
Reference in New Issue
Block a user