class KCompTreeNode

A helper class for KCompletion. More...

Internal Use Only
Definition#include <kcompletion_private.h>
InheritsQChar [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 ( const QChar& ch )

 ~KCompTreeNode ()

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

[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]