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 (const QChar &ch, uint weight=0)
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 KCompTreeChildren * children () 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 kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Jan 28 12:47:31 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001