class KCompTreeNode

A helper class for KCompletion. More...

Internal Use Only
Definition#include <kcompletion_private.h>
InheritsQChar (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Members


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