AssistProposalItem Class

(TextEditor::AssistProposalItem)

The AssistProposalItem class acts as an interface for representing an assist proposal item. More...

Header: #include <AssistProposalItem>
Inherits: TextEditor::AssistProposalItemInterface

Reimplemented Public Functions

virtual bool implicitlyApplies() const override
virtual bool prematurelyApplies(const QChar &c) const override

Detailed Description

This is class is part of the CodeAssist API.

Member Function Documentation

[override virtual] bool AssistProposalItem::implicitlyApplies() const

Returns whether this item should implicitly apply in the case it is the only proposal item available.

[override virtual] bool AssistProposalItem::prematurelyApplies(const QChar &c) const

Returns whether the character c causes this item to be applied.