forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user