forked from qt-creator/qt-creator
TextEditor: Introduce AssistProposalItemInterface
For unit test we need to break every dependency to the TextEditor Widget etc.. With an abstract interface we can implement it in clang without relying on unwanted dependencies. It makes it also easier to compute the values deferred. Change-Id: I1b313a1625f4e80bd324ab4bf1a7c4f6b690abe9 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
@@ -71,7 +71,7 @@ public:
|
||||
}
|
||||
|
||||
bool isSortable(const QString &prefix) const override;
|
||||
TextEditor::AssistProposalItem *proposalItem(int index) const override;
|
||||
TextEditor::AssistProposalItemInterface *proposalItem(int index) const override;
|
||||
|
||||
unsigned m_completionOperator;
|
||||
bool m_replaceDotForArrow;
|
||||
|
||||
Reference in New Issue
Block a user