Export QmlJSEditorEditable.

Rubber-stamped-by: Friedemann Kleint
This commit is contained in:
Christian Kamm
2010-11-25 15:10:25 +01:00
parent f90be084c2
commit 5927137d13
4 changed files with 5 additions and 8 deletions

View File

@@ -60,11 +60,11 @@ namespace QmlJS {
The top-level namespace of the QmlJSEditor plug-in.
*/
namespace QmlJSEditor {
class QmlJSEditorEditable;
class FindReferences;
namespace Internal {
class QmlOutlineModel;
class QmlJSEditorEditable;
class SemanticHighlighter;
struct SemanticHighlighterSource;
} // namespace Internal
@@ -199,7 +199,7 @@ protected:
void resizeEvent(QResizeEvent *event);
void scrollContentsBy(int dx, int dy);
TextEditor::BaseTextEditorEditable *createEditableInterface();
void createToolBar(Internal::QmlJSEditorEditable *editable);
void createToolBar(QmlJSEditorEditable *editable);
TextEditor::BaseTextEditor::Link findLinkAt(const QTextCursor &cursor, bool resolveTarget = true);
private:

View File

@@ -42,7 +42,6 @@
#include <coreplugin/coreconstants.h>
namespace QmlJSEditor {
namespace Internal {
QmlJSEditorEditable::QmlJSEditorEditable(QmlJSTextEditor *editor)
: BaseTextEditorEditable(editor)
@@ -90,5 +89,4 @@ QString QmlJSEditorEditable::preferredModeType() const
return QString();
}
} // namespace Internal
} // namespace QmlJSEditor

View File

@@ -30,14 +30,13 @@
#ifndef QMLJSEDITOREDITABLE_H
#define QMLJSEDITOREDITABLE_H
#include "qmljseditor_global.h"
#include <texteditor/basetexteditor.h>
namespace QmlJSEditor {
class QmlJSTextEditor;
namespace Internal {
class QmlJSEditorEditable : public TextEditor::BaseTextEditorEditable
class QMLJSEDITOR_EXPORT QmlJSEditorEditable : public TextEditor::BaseTextEditorEditable
{
Q_OBJECT
@@ -56,7 +55,6 @@ private:
Core::Context m_context;
};
} // namespace Internal
} // namespace QmlJSEditor
#endif // QMLJSEDITOREDITABLE_H

View File

@@ -78,6 +78,7 @@ namespace {
}
}
using namespace QmlJSEditor;
using namespace QmlJSEditor::Internal;
using namespace QmlJSEditor::Constants;