Skip to content
Snippets Groups Projects
Commit 5927137d authored by Christian Kamm's avatar Christian Kamm
Browse files

Export QmlJSEditorEditable.

Rubber-stamped-by: Friedemann Kleint
parent f90be084
No related branches found
No related tags found
No related merge requests found
...@@ -60,11 +60,11 @@ namespace QmlJS { ...@@ -60,11 +60,11 @@ namespace QmlJS {
The top-level namespace of the QmlJSEditor plug-in. The top-level namespace of the QmlJSEditor plug-in.
*/ */
namespace QmlJSEditor { namespace QmlJSEditor {
class QmlJSEditorEditable;
class FindReferences; class FindReferences;
namespace Internal { namespace Internal {
class QmlOutlineModel; class QmlOutlineModel;
class QmlJSEditorEditable;
class SemanticHighlighter; class SemanticHighlighter;
struct SemanticHighlighterSource; struct SemanticHighlighterSource;
} // namespace Internal } // namespace Internal
...@@ -199,7 +199,7 @@ protected: ...@@ -199,7 +199,7 @@ protected:
void resizeEvent(QResizeEvent *event); void resizeEvent(QResizeEvent *event);
void scrollContentsBy(int dx, int dy); void scrollContentsBy(int dx, int dy);
TextEditor::BaseTextEditorEditable *createEditableInterface(); TextEditor::BaseTextEditorEditable *createEditableInterface();
void createToolBar(Internal::QmlJSEditorEditable *editable); void createToolBar(QmlJSEditorEditable *editable);
TextEditor::BaseTextEditor::Link findLinkAt(const QTextCursor &cursor, bool resolveTarget = true); TextEditor::BaseTextEditor::Link findLinkAt(const QTextCursor &cursor, bool resolveTarget = true);
private: private:
......
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
#include <coreplugin/coreconstants.h> #include <coreplugin/coreconstants.h>
namespace QmlJSEditor { namespace QmlJSEditor {
namespace Internal {
QmlJSEditorEditable::QmlJSEditorEditable(QmlJSTextEditor *editor) QmlJSEditorEditable::QmlJSEditorEditable(QmlJSTextEditor *editor)
: BaseTextEditorEditable(editor) : BaseTextEditorEditable(editor)
...@@ -90,5 +89,4 @@ QString QmlJSEditorEditable::preferredModeType() const ...@@ -90,5 +89,4 @@ QString QmlJSEditorEditable::preferredModeType() const
return QString(); return QString();
} }
} // namespace Internal
} // namespace QmlJSEditor } // namespace QmlJSEditor
...@@ -30,14 +30,13 @@ ...@@ -30,14 +30,13 @@
#ifndef QMLJSEDITOREDITABLE_H #ifndef QMLJSEDITOREDITABLE_H
#define QMLJSEDITOREDITABLE_H #define QMLJSEDITOREDITABLE_H
#include "qmljseditor_global.h"
#include <texteditor/basetexteditor.h> #include <texteditor/basetexteditor.h>
namespace QmlJSEditor { namespace QmlJSEditor {
class QmlJSTextEditor; class QmlJSTextEditor;
namespace Internal { class QMLJSEDITOR_EXPORT QmlJSEditorEditable : public TextEditor::BaseTextEditorEditable
class QmlJSEditorEditable : public TextEditor::BaseTextEditorEditable
{ {
Q_OBJECT Q_OBJECT
...@@ -56,7 +55,6 @@ private: ...@@ -56,7 +55,6 @@ private:
Core::Context m_context; Core::Context m_context;
}; };
} // namespace Internal
} // namespace QmlJSEditor } // namespace QmlJSEditor
#endif // QMLJSEDITOREDITABLE_H #endif // QMLJSEDITOREDITABLE_H
...@@ -78,6 +78,7 @@ namespace { ...@@ -78,6 +78,7 @@ namespace {
} }
} }
using namespace QmlJSEditor;
using namespace QmlJSEditor::Internal; using namespace QmlJSEditor::Internal;
using namespace QmlJSEditor::Constants; using namespace QmlJSEditor::Constants;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment