summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@digia.com>2012-11-08 15:01:45 +0100
committerRobert Loehning <robert.loehning@digia.com>2012-11-08 15:40:09 +0100
commit978960904c97d51f45c6cfa98bb77042009cffb3 (patch)
tree629932c584f024a22d6ed0d7e2bd0c0b937bb053
parentdd6307ea1519823964f4272c9acb8ad5fd2bb8e6 (diff)
downloadqt-creator-978960904c97d51f45c6cfa98bb77042009cffb3.tar.gz
Compile fix for Windows
Task-number: QTCREATORBUG-8209 Change-Id: I2ae88b5fc8ad5b4de7c9dc2eacb4eaf5d6f4fe2b Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
-rw-r--r--src/plugins/qmljseditor/qmljsquickfix.cpp1
-rw-r--r--src/plugins/qmljseditor/qmljsquickfix.h2
-rw-r--r--src/plugins/qmljseditor/qmljsquickfixes.cpp3
3 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/qmljseditor/qmljsquickfix.cpp b/src/plugins/qmljseditor/qmljsquickfix.cpp
index 59df72bfd4..6952c24e91 100644
--- a/src/plugins/qmljseditor/qmljsquickfix.cpp
+++ b/src/plugins/qmljseditor/qmljsquickfix.cpp
@@ -45,7 +45,6 @@ using namespace QmlJS::AST;
using namespace QmlJSEditor;
using namespace QmlJSEditor::Internal;
using namespace QmlJSTools;
-using namespace TextEditor;
using TextEditor::RefactoringChanges;
QmlJSQuickFixOperation::QmlJSQuickFixOperation(const QmlJSQuickFixInterface &interface,
diff --git a/src/plugins/qmljseditor/qmljsquickfix.h b/src/plugins/qmljseditor/qmljsquickfix.h
index 7dd6886fbe..83c7fa6f3a 100644
--- a/src/plugins/qmljseditor/qmljsquickfix.h
+++ b/src/plugins/qmljseditor/qmljsquickfix.h
@@ -94,7 +94,7 @@ protected:
Implement this method to match and create the appropriate
QmlJSQuickFixOperation objects.
*/
- virtual void match(const QmlJSQuickFixInterface &interface, QuickFixOperations &result) = 0;
+ virtual void match(const QmlJSQuickFixInterface &interface, TextEditor::QuickFixOperations &result) = 0;
};
} // namespace QmlJSEditor
diff --git a/src/plugins/qmljseditor/qmljsquickfixes.cpp b/src/plugins/qmljseditor/qmljsquickfixes.cpp
index f4bc9c0072..9583331be7 100644
--- a/src/plugins/qmljseditor/qmljsquickfixes.cpp
+++ b/src/plugins/qmljseditor/qmljsquickfixes.cpp
@@ -45,7 +45,6 @@ using namespace QmlJS::AST;
using namespace QmlJSEditor;
using namespace QmlJSEditor::Internal;
using namespace QmlJSTools;
-using namespace TextEditor;
using TextEditor::RefactoringChanges;
namespace {
@@ -80,7 +79,7 @@ class SplitInitializerOp: public QmlJSQuickFixFactory
}
if (objectInitializer)
- result.append(QuickFixOperation::Ptr(new Operation(interface, objectInitializer)));
+ result.append(TextEditor::QuickFixOperation::Ptr(new Operation(interface, objectInitializer)));
}
class Operation: public QmlJSQuickFixOperation