• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdecore
 

tdecore

Public Member Functions | Public Attributes | List of all members
TDECompTreeNode Class Reference

#include <kcompletion_private.h>

Inherits TQChar.

Public Member Functions

 TDECompTreeNode (const TQChar &ch, uint weight=0)
 
void * operator new (size_t s)
 
void operator delete (void *s)
 
TDECompTreeNode * find (const TQChar &ch) const
 
TDECompTreeNode * insert (const TQChar &, bool sorted)
 
void remove (const TQString &)
 
int childrenCount () const
 
void confirm ()
 
void confirm (uint w)
 
void decline ()
 
uint weight () const
 
const TDECompTreeChildren * children () const
 
const TDECompTreeNode * childAt (int index) const
 
const TDECompTreeNode * firstChild () const
 
const TDECompTreeNode * lastChild () const
 

Public Attributes

TDECompTreeNode * next
 

Detailed Description

A helper class for TDECompletion.

Implements a tree of TQChar.

The tree looks like this (containing the items "kde", "kde-ui", "kde-core" and "pfeiffer". Every item is delimited with TQChar( 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 pfeif.nosp@m.fer@.nosp@m.kde.o.nosp@m.rg

Definition at line 84 of file kcompletion_private.h.

Constructor & Destructor Documentation

◆ TDECompTreeNode() [1/2]

TDECompTreeNode::TDECompTreeNode ( )
inline

Definition at line 87 of file kcompletion_private.h.

◆ TDECompTreeNode() [2/2]

TDECompTreeNode::TDECompTreeNode ( const TQChar &  ch,
uint  weight = 0 
)
inline

Definition at line 88 of file kcompletion_private.h.

◆ ~TDECompTreeNode()

TDECompTreeNode::~TDECompTreeNode ( )

Definition at line 663 of file kcompletion.cpp.

Member Function Documentation

◆ childAt()

const TDECompTreeNode * TDECompTreeNode::childAt ( int  index) const
inline

Definition at line 121 of file kcompletion_private.h.

◆ children()

const TDECompTreeChildren * TDECompTreeNode::children ( ) const
inline

Definition at line 118 of file kcompletion_private.h.

◆ childrenCount()

int TDECompTreeNode::childrenCount ( ) const
inline

Definition at line 110 of file kcompletion_private.h.

◆ confirm() [1/2]

void TDECompTreeNode::confirm ( )
inline

Definition at line 113 of file kcompletion_private.h.

◆ confirm() [2/2]

void TDECompTreeNode::confirm ( uint  w)
inline

Definition at line 114 of file kcompletion_private.h.

◆ decline()

void TDECompTreeNode::decline ( )
inline

Definition at line 115 of file kcompletion_private.h.

◆ find()

TDECompTreeNode * TDECompTreeNode::find ( const TQChar &  ch) const
inline

Definition at line 102 of file kcompletion_private.h.

◆ firstChild()

const TDECompTreeNode * TDECompTreeNode::firstChild ( ) const
inline

Definition at line 124 of file kcompletion_private.h.

◆ insert()

TDECompTreeNode * TDECompTreeNode::insert ( const TQChar &  ch,
bool  sorted 
)

Definition at line 677 of file kcompletion.cpp.

◆ lastChild()

const TDECompTreeNode * TDECompTreeNode::lastChild ( ) const
inline

Definition at line 127 of file kcompletion_private.h.

◆ operator delete()

void TDECompTreeNode::operator delete ( void *  s)
inline

Definition at line 96 of file kcompletion_private.h.

◆ operator new()

void * TDECompTreeNode::operator new ( size_t  s)
inline

Definition at line 93 of file kcompletion_private.h.

◆ remove()

void TDECompTreeNode::remove ( const TQString &  str)

Definition at line 714 of file kcompletion.cpp.

◆ weight()

uint TDECompTreeNode::weight ( ) const
inline

Definition at line 116 of file kcompletion_private.h.

Member Data Documentation

◆ next

TDECompTreeNode* TDECompTreeNode::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

tdecore

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

tdecore

Skip menu "tdecore"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdecore by doxygen 1.9.4
This website is maintained by Timothy Pearson.