class KCompTreeNode

# class KCompTreeNode | A helper class for KCompletion. More...
Internal Use Only
Definition | `#include <kcompletion_private.h>`
Inherits | QChar (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- KCompTreeNode ()
- KCompTreeNode ( const QChar& ch, uint weight = 0 )
- ~KCompTreeNode ()
- void * operator new ( size_t s )
- void operator delete ( void * s )
- inline KCompTreeNode * find ( const QChar& ch ) const
- KCompTreeNode * insert ( const QChar&, bool sorted )
- void remove ( const QString& )
- inline int childrenCount () const
- inline void confirm ()
- inline void confirm (uint w)
- inline void decline ()
- inline uint weight () const
- inline const KCompTreeChildren * children () const
- inline const KCompTreeNode * childAt (int index) const
- inline const KCompTreeNode * firstChild () const
- inline const KCompTreeNode * lastChild () const

#### Public Members

- 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

KCompTreeNode () | ### KCompTreeNode

KCompTreeNode ( const QChar& ch, uint weight = 0 ) | ### KCompTreeNode

~KCompTreeNode () | ### ~KCompTreeNode

void * operator new ( size_t s ) | ### new

void operator delete ( void * s ) | ### delete

inline KCompTreeNode * find ( const QChar& ch ) | ### find

[const]

KCompTreeNode * insert ( const QChar&, bool sorted ) | ### insert

void remove ( const QString& ) | ### remove

inline int childrenCount () | ### childrenCount

[const]

inline void confirm () | ### confirm

inline void confirm (uint w) | ### confirm

inline void decline () | ### decline

inline uint weight () | ### weight

[const]

inline const KCompTreeChildren * children () | ### children

[const]

inline const KCompTreeNode * childAt (int index) | ### childAt

[const]

inline const KCompTreeNode * firstChild () | ### firstChild

[const]

inline const KCompTreeNode * lastChild () | ### lastChild

[const]

KCompTreeNode * next | ### next

- Author: Carsten Pfeiffer
- Generated: root on macppc.ports.openbsd.org on Sat Sep 6 10:36:15 2003, using kdoc 2.0a54.