TextEditor: Wiggle codeassist setup

Remove GenericProposalModel convenience constructor,
add GenericProposal instead. Less user side code.

Change-Id: I833f9943df27b50579485c93efb96943ec403f65
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
hjk
2014-09-13 02:22:24 +02:00
parent fef838eed7
commit 78a04f0a6d
13 changed files with 25 additions and 43 deletions

View File

@@ -37,11 +37,13 @@
namespace TextEditor {
class GenericProposalModel;
class AssistProposalItem;
class TEXTEDITOR_EXPORT GenericProposal : public IAssistProposal
{
public:
GenericProposal(int cursorPos, GenericProposalModel *model);
GenericProposal(int cursorPos, const QList<AssistProposalItem *> &items);
~GenericProposal();
bool isFragile() const QTC_OVERRIDE;