KTextEditor::CompletionEntry Class Reference
An item for the completion popup. More...
#include <codecompletioninterface.h>
Collaboration diagram for KTextEditor::CompletionEntry:

Public Member Functions | |
| bool | operator== (const CompletionEntry &c) const |
Public Attributes | |
| QString | type |
| QString | text |
| QString | prefix |
| QString | postfix |
| QString | comment |
| QString | userdata |
Detailed Description
An item for the completion popup.
text is the completed string, prefix appears in front of it, suffix appears after it. type does not appear in the completion list. prefix, suffix, and type are not part of the inserted text if a completion takes place. comment appears in a tooltip right of the completion list for the currently selected item. userdata can be free formed data, which the user of this interface can use in CodeCompletionInterface::filterInsertString().
Definition at line 40 of file codecompletioninterface.h.
The documentation for this class was generated from the following file:
