kdecore Library API Documentation

KCompTreeNode Class Reference

A helper class for KCompletion. More...

#include <kcompletion_private.h>

Inheritance diagram for KCompTreeNode:

Inheritance graph
[legend]
Collaboration diagram for KCompTreeNode:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 KCompTreeNode ()
 KCompTreeNode (const QChar &ch, uint weight=0)
 ~KCompTreeNode ()
void * operator new (size_t s)
void operator delete (void *s)
KCompTreeNodefind (const QChar &ch) const
KCompTreeNodeinsert (const QChar &, bool sorted)
void remove (const QString &)
int childrenCount () const
void confirm ()
void confirm (uint w)
void decline ()
uint weight () const
const KCompTreeChildrenchildren () const
const KCompTreeNodechildAt (int index) const
const KCompTreeNodefirstChild () const
const KCompTreeNodelastChild () const

Public Attributes

KCompTreeNodenext

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

Author:
Carsten Pfeiffer <pfeiffer@kde.org>

Definition at line 84 of file kcompletion_private.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdecore Library Version 3.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Sep 15 10:20:38 2005 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003