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


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 )

KCompTreeNode

 ~KCompTreeNode ()

~KCompTreeNode

inline KCompTreeNode *  find ( const QChar& ch, bool )

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]