Commit 497bf0a0 authored by Jan Möbius's avatar Jan Möbius
Browse files

Next try

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@15153 383ad7c9-94d9-4d36-a494-682f7c89f535
parent c83ee0c8
......@@ -110,18 +110,12 @@ class TreeItem {
int level();
private:
/// Parent item or 0 if root node
/// Parent item or 0 if rootnode
TreeItem *parentItem_;
/// Children of this node
QList<TreeItem*> childItems_;
/// Cache all children of this item to get their row efficiently
QMap<TreeItem*,int> childMap_;
/// Acceleration map
static QMap<int,TreeItem*> treeMap_;
public:
//===========================================================================
/** @name Tree : Parent nodes
......@@ -131,7 +125,7 @@ class TreeItem {
/// get the row of this item from the parent
int row() const;
/// Get the parent item ( 0 if root item )
/// Get the parent item ( 0 if rootitem )
TreeItem *parent();
/// Set the parent pointer
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment