diff options
author | Marco Bubke <marco.bubke@theqtcompany.com> | 2016-02-01 14:51:01 +0100 |
---|---|---|
committer | Marco Bubke <marco.bubke@theqtcompany.com> | 2016-02-01 14:01:35 +0000 |
commit | c903f4974f3ed403b1cc4af4f143922d8ebc7961 (patch) | |
tree | 8212fe73b701edd3826b8972c76913beec197e4c /src/plugins/cpptools/cppcompletionassist.h | |
parent | e42bf6ebc637e9ef4ec95787374c9743eb80d8d4 (diff) |
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>
Diffstat (limited to 'src/plugins/cpptools/cppcompletionassist.h')
-rw-r--r-- | src/plugins/cpptools/cppcompletionassist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cppcompletionassist.h b/src/plugins/cpptools/cppcompletionassist.h index 57811e7c63..738840cd15 100644 --- a/src/plugins/cpptools/cppcompletionassist.h +++ b/src/plugins/cpptools/cppcompletionassist.h @@ -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; |