#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
 
Definition at line 84 of file kcompletion_private.h.
Constructor & Destructor Documentation
◆ TDECompTreeNode() [1/2]
      
  | 
  inline | 
Definition at line 87 of file kcompletion_private.h.
◆ TDECompTreeNode() [2/2]
      
  | 
  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()
      
  | 
  inline | 
Definition at line 121 of file kcompletion_private.h.
◆ children()
      
  | 
  inline | 
Definition at line 118 of file kcompletion_private.h.
◆ childrenCount()
      
  | 
  inline | 
Definition at line 110 of file kcompletion_private.h.
◆ confirm() [1/2]
      
  | 
  inline | 
Definition at line 113 of file kcompletion_private.h.
◆ confirm() [2/2]
      
  | 
  inline | 
Definition at line 114 of file kcompletion_private.h.
◆ decline()
      
  | 
  inline | 
Definition at line 115 of file kcompletion_private.h.
◆ find()
      
  | 
  inline | 
Definition at line 102 of file kcompletion_private.h.
◆ firstChild()
      
  | 
  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()
      
  | 
  inline | 
Definition at line 127 of file kcompletion_private.h.
◆ operator delete()
      
  | 
  inline | 
Definition at line 96 of file kcompletion_private.h.
◆ operator new()
      
  | 
  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()
      
  | 
  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:
    Trinity API Reference