KDECore
KCompTreeNode Class Reference
A helper class for KCompletion. More...
#include <kcompletion_private.h>

| Public Member Functions | |
| const KCompTreeNode * | childAt (int index) const | 
| const KCompTreeChildren * | children () const | 
| int | childrenCount () const | 
| void | confirm (uint w) | 
| void | confirm () | 
| void | decline () | 
| KCompTreeNode * | find (const QChar &ch) const | 
| const KCompTreeNode * | firstChild () const | 
| KCompTreeNode * | insert (const QChar &, bool sorted) | 
| KCompTreeNode (const QChar &ch, uint weight=0) | |
| KCompTreeNode () | |
| const KCompTreeNode * | lastChild () const | 
| void | operator delete (void *s) | 
| void * | operator new (size_t s) | 
| void | remove (const QString &) | 
| uint | weight () const | 
| ~KCompTreeNode () | |
| Public Attributes | |
| KCompTreeNode * | next | 
Detailed Description
A helper class for KCompletion.Implements a tree of QChar.
The tree looks like this (containing the items "kde", "kde-ui", "kde-core" and "pfeiffer". Every item is delimited with QChar( 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
For internal use only.
Definition at line 84 of file kcompletion_private.h.
Constructor & Destructor Documentation
| KCompTreeNode::KCompTreeNode | ( | ) |  [inline] | 
Definition at line 87 of file kcompletion_private.h.
| KCompTreeNode::KCompTreeNode | ( | const QChar & | ch, | |
| uint | weight = 0 | |||
| ) |  [inline] | 
Definition at line 88 of file kcompletion_private.h.
| KCompTreeNode::~KCompTreeNode | ( | ) | 
Definition at line 663 of file kcompletion.cpp.
Member Function Documentation
| const KCompTreeNode* KCompTreeNode::childAt | ( | int | index | ) | const  [inline] | 
Definition at line 121 of file kcompletion_private.h.
| const KCompTreeChildren* KCompTreeNode::children | ( | ) | const  [inline] | 
Definition at line 118 of file kcompletion_private.h.
| int KCompTreeNode::childrenCount | ( | ) | const  [inline] | 
Definition at line 110 of file kcompletion_private.h.
| void KCompTreeNode::confirm | ( | uint | w | ) |  [inline] | 
Definition at line 114 of file kcompletion_private.h.
| void KCompTreeNode::confirm | ( | ) |  [inline] | 
Definition at line 113 of file kcompletion_private.h.
| void KCompTreeNode::decline | ( | ) |  [inline] | 
Definition at line 115 of file kcompletion_private.h.
| KCompTreeNode* KCompTreeNode::find | ( | const QChar & | ch | ) | const  [inline] | 
Definition at line 102 of file kcompletion_private.h.
| const KCompTreeNode* KCompTreeNode::firstChild | ( | ) | const  [inline] | 
Definition at line 124 of file kcompletion_private.h.
| KCompTreeNode * KCompTreeNode::insert | ( | const QChar & | ch, | |
| bool | sorted | |||
| ) | 
Definition at line 677 of file kcompletion.cpp.
| const KCompTreeNode* KCompTreeNode::lastChild | ( | ) | const  [inline] | 
Definition at line 127 of file kcompletion_private.h.
| void KCompTreeNode::operator delete | ( | void * | s | ) |  [inline] | 
Definition at line 96 of file kcompletion_private.h.
| void* KCompTreeNode::operator new | ( | size_t | s | ) |  [inline] | 
Definition at line 93 of file kcompletion_private.h.
| void KCompTreeNode::remove | ( | const QString & | str | ) | 
Definition at line 714 of file kcompletion.cpp.
| uint KCompTreeNode::weight | ( | ) | const  [inline] | 
Definition at line 116 of file kcompletion_private.h.
Member Data Documentation
Definition at line 134 of file kcompletion_private.h.
The documentation for this class was generated from the following files:
 KDE 3.5 API Reference
    KDE 3.5 API Reference