TDECompTreeNode Class Reference
#include <kcompletion_private.h>
Inherits TQChar.
Public Member Functions | |
| TDECompTreeNode (const TQChar &ch, uint weight=0) | |
| void * | operator new (size_t s) |
| void | operator delete (void *s) |
| TDECompTreeNode * | find (const TQChar &ch) const |
| TDECompTreeNode * | insert (const TQChar &, bool sorted) |
| void | remove (const TQString &) |
| int | childrenCount () const |
| void | confirm () |
| void | confirm (uint w) |
| void | decline () |
| uint | weight () const |
| const TDECompTreeChildren * | children () const |
| const TDECompTreeNode * | childAt (int index) const |
| const TDECompTreeNode * | firstChild () const |
| const TDECompTreeNode * | lastChild () const |
Public Attributes | |
| TDECompTreeNode * | next |
Detailed Description
A helper class for TDECompletion.
Implements a tree of TQChar.
The tree looks like this (containing the items "kde", "kde-ui", "kde-core" and "pfeiffer". Every item is delimited with TQChar( 0x0 )
some_root_node
/ \
k p
| |
d f
| |
e e
/| |
0x0 - i
/ \ |
u c f
| | |
i o f
| | |
0x0 r e
| |
e r
| |
0x0 0x0
Definition at line 84 of file kcompletion_private.h.
The documentation for this class was generated from the following files:
Trinity API Reference