diff --git a/src/plugins/qmljseditor/qmljsquickfix.cpp b/src/plugins/qmljseditor/qmljsquickfix.cpp
index 59df72bfd459fd070ac53fc316e2c52d321d8d17..6952c24e91f0ea72e8d9662cc2512b70ba3854e4 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 7dd6886fbe10734fbee1d5db90b4b94c2ba76f89..83c7fa6f3a08036ed0ec700c9fb3a875c518ac2e 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 f4bc9c0072307a338416627bec386755a7aa8135..9583331be7f0681fb687e1a549d43ab63e2eec1f 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