• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

KDECore

KCompTreeNode Class Reference

A helper class for KCompletion. More...

#include <kcompletion_private.h>

Inheritance diagram for KCompTreeNode:

Inheritance graph
[legend]

List of all members.


Public Member Functions

const KCompTreeNode * childAt (int index) const
const KCompTreeChildren * children () const
int childrenCount () const
void confirm (uint w)
void confirm ()
void decline ()
KCompTreeNode * find (const QChar &ch) const
const KCompTreeNode * firstChild () const
KCompTreeNode * insert (const QChar &, bool sorted)
 KCompTreeNode (const QChar &ch, uint weight=0)
 KCompTreeNode ()
const KCompTreeNode * lastChild () const
void operator delete (void *s)
void * operator new (size_t s)
void remove (const QString &)
uint weight () const
 ~KCompTreeNode ()

Public Attributes

KCompTreeNode * next

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>

For internal use only.

Definition at line 84 of file kcompletion_private.h.


Constructor & Destructor Documentation

KCompTreeNode::KCompTreeNode (  )  [inline]

Definition at line 87 of file kcompletion_private.h.

KCompTreeNode::KCompTreeNode ( const QChar &  ch,
uint  weight = 0 
) [inline]

Definition at line 88 of file kcompletion_private.h.

KCompTreeNode::~KCompTreeNode (  ) 

Definition at line 663 of file kcompletion.cpp.


Member Function Documentation

const KCompTreeNode* KCompTreeNode::childAt ( int  index  )  const [inline]

Definition at line 121 of file kcompletion_private.h.

const KCompTreeChildren* KCompTreeNode::children (  )  const [inline]

Definition at line 118 of file kcompletion_private.h.

int KCompTreeNode::childrenCount (  )  const [inline]

Definition at line 110 of file kcompletion_private.h.

void KCompTreeNode::confirm ( uint  w  )  [inline]

Definition at line 114 of file kcompletion_private.h.

void KCompTreeNode::confirm (  )  [inline]

Definition at line 113 of file kcompletion_private.h.

void KCompTreeNode::decline (  )  [inline]

Definition at line 115 of file kcompletion_private.h.

KCompTreeNode* KCompTreeNode::find ( const QChar &  ch  )  const [inline]

Definition at line 102 of file kcompletion_private.h.

const KCompTreeNode* KCompTreeNode::firstChild (  )  const [inline]

Definition at line 124 of file kcompletion_private.h.

KCompTreeNode * KCompTreeNode::insert ( const QChar &  ch,
bool  sorted 
)

Definition at line 677 of file kcompletion.cpp.

const KCompTreeNode* KCompTreeNode::lastChild (  )  const [inline]

Definition at line 127 of file kcompletion_private.h.

void KCompTreeNode::operator delete ( void *  s  )  [inline]

Definition at line 96 of file kcompletion_private.h.

void* KCompTreeNode::operator new ( size_t  s  )  [inline]

Definition at line 93 of file kcompletion_private.h.

void KCompTreeNode::remove ( const QString &  str  ) 

Definition at line 714 of file kcompletion.cpp.

uint KCompTreeNode::weight (  )  const [inline]

Definition at line 116 of file kcompletion_private.h.


Member Data Documentation

KCompTreeNode* KCompTreeNode::next

Definition at line 134 of file kcompletion_private.h.


The documentation for this class was generated from the following files:
  • kcompletion_private.h
  • kcompletion.cpp

KDECore

Skip menu "KDECore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal