summaryrefslogtreecommitdiff
path: root/src/plugins/qmljsinspector/qmljslivetextpreview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qmljsinspector/qmljslivetextpreview.h')
-rw-r--r--src/plugins/qmljsinspector/qmljslivetextpreview.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/plugins/qmljsinspector/qmljslivetextpreview.h b/src/plugins/qmljsinspector/qmljslivetextpreview.h
index 6ada1e56ad..d6a50ffb05 100644
--- a/src/plugins/qmljsinspector/qmljslivetextpreview.h
+++ b/src/plugins/qmljsinspector/qmljslivetextpreview.h
@@ -35,6 +35,7 @@
#include <QObject>
#include <QWeakPointer>
+#include <texteditor/basetexteditor.h>
#include <qmljs/parser/qmljsastfwd_p.h>
#include <qmljs/qmljsdocument.h>
@@ -50,10 +51,6 @@ namespace QmlJS {
class ModelManagerInterface;
}
-namespace QmlJSEditor {
- class QmlJSTextEditorWidget;
-}
-
namespace QmlJSInspector {
namespace Internal {
@@ -115,7 +112,7 @@ private:
QmlJS::Document::Ptr m_initialDoc; //the document that was loaded by the server
QString m_filename;
- QList<QWeakPointer<QmlJSEditor::QmlJSTextEditorWidget> > m_editors;
+ QList<QWeakPointer<TextEditor::BaseTextEditorWidget> > m_editors;
bool m_applyChangesToQmlInspector;
QmlJS::Document::Ptr m_docWithUnappliedChanges;