kate Library API Documentation

KateCodeFoldingNode Class Reference

Collaboration diagram for KateCodeFoldingNode:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 KateCodeFoldingNode ()
 KateCodeFoldingNode (KateCodeFoldingNode *par, signed char typ, unsigned int sLRel)
 ~KateCodeFoldingNode ()
int nodeType ()
bool isVisible ()
KateCodeFoldingNodegetParentNode ()
bool getBegin (KateCodeFoldingTree *tree, KateTextCursor *begin)
bool getEnd (KateCodeFoldingTree *tree, KateTextCursor *end)

Protected Member Functions

bool noChildren () const
uint childCount () const
KateCodeFoldingNodechild (uint index) const
int findChild (KateCodeFoldingNode *node, uint start=0) const
void appendChild (KateCodeFoldingNode *node)
void insertChild (uint index, KateCodeFoldingNode *node)
KateCodeFoldingNodetakeChild (uint index)
void clearChildren ()
int cmpPos (KateCodeFoldingTree *tree, uint line, uint col)

Friends

class KateCodeFoldingTree

Detailed Description

Definition at line 53 of file katecodefoldinghelpers.h.


Member Function Documentation

bool KateCodeFoldingNode::noChildren  )  const [inline, protected]
 

accessors for the child nodes

Definition at line 76 of file katecodefoldinghelpers.h.

References QMemArray::isEmpty().

Referenced by KateCodeFoldingTree::collapseToplevelNodes(), KateCodeFoldingTree::findNodeForLine(), KateCodeFoldingTree::findNodeForPosition(), KateCodeFoldingTree::getLineInfo(), and KateCodeFoldingTree::isTopLevel().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kate Library Version 3.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Jul 20 14:16:36 2006 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003