forked from qt-creator/qt-creator
QmlJSEditor: Export QmlJSCompletionAssistInterface
Requested in the mailing list Change-Id: Ica71665f72dbe448fbe5a0fe82c4113c22d06324 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
3d360653cf
commit
eb35a8bfbe
@@ -49,10 +49,11 @@
|
|||||||
namespace QmlJS { class Value; }
|
namespace QmlJS { class Value; }
|
||||||
|
|
||||||
namespace QmlJSEditor {
|
namespace QmlJSEditor {
|
||||||
namespace Internal {
|
|
||||||
|
|
||||||
class QmlJSCompletionAssistInterface;
|
class QmlJSCompletionAssistInterface;
|
||||||
|
|
||||||
|
namespace Internal {
|
||||||
|
|
||||||
class QmlJSAssistProposalItem : public TextEditor::AssistProposalItem
|
class QmlJSAssistProposalItem : public TextEditor::AssistProposalItem
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -117,8 +118,9 @@ private:
|
|||||||
TextEditor::SnippetAssistCollector m_snippetCollector;
|
TextEditor::SnippetAssistCollector m_snippetCollector;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
} // Internal
|
||||||
|
|
||||||
class QmlJSCompletionAssistInterface : public TextEditor::AssistInterface
|
class QMLJSEDITOR_EXPORT QmlJSCompletionAssistInterface : public TextEditor::AssistInterface
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
QmlJSCompletionAssistInterface(QTextDocument *textDocument,
|
QmlJSCompletionAssistInterface(QTextDocument *textDocument,
|
||||||
@@ -138,7 +140,6 @@ private:
|
|||||||
QIcon m_darkCyanIcon;
|
QIcon m_darkCyanIcon;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // Internal
|
|
||||||
} // QmlJSEditor
|
} // QmlJSEditor
|
||||||
|
|
||||||
#endif // QMLJSCOMPLETIONASSIST_H
|
#endif // QMLJSCOMPLETIONASSIST_H
|
||||||
|
|||||||
Reference in New Issue
Block a user