100 void name( QString _name );
179 #endif // TREEITEM_HH defined
int row() const
get the row of this item from the parent
TreeItem * child(int row)
return a child
DataType dataType()
dataType
QList< TreeItem * > getLeafs()
get all leafes of the tree below this object ( These will be all visible objects ) ...
void removeChild(TreeItem *_item)
Remove a child from this object.
TreeItem * parentItem_
Parent item or 0 if root node.
int childCount() const
get the number of children
void setParent(TreeItem *_parent)
Set the parent pointer.
int row_
Index of this node in parent's childen.
QList< TreeItem * > childItems_
Children of this node.
TreeItem * parent()
Get the parent item ( 0 if root item )
TreeItem * childExists(int _objectId)
Check if the element exists in the subtree of this element.
static QMap< int, TreeItem * > kTreeMap_
Acceleration map.
void appendChild(TreeItem *child)
add a child to this node
void deleteSubtree()
delete the whole subtree below this item ( The item itself is not touched )