interfaces Library API Documentation

KTextEditor::CompletionEntry Class Reference

An item for the completion popup. More...

#include <codecompletioninterface.h>

Collaboration diagram for KTextEditor::CompletionEntry:

Collaboration graph
[legend]
List of all members.

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:
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Jan 28 13:30:54 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001