91 void name( QString _name );
156 QList< TreeItemObjectSelection* >
getLeafs();
165 #endif // TREEITEM_HH defined void appendChild(TreeItemObjectSelection *child)
add a child to this node
TreeItemObjectSelection * parentItem_
Parent item or 0 if rootnode.
TreeItemObjectSelection * next()
TreeItemObjectSelection * parent()
Get the parent item ( 0 if rootitem )
int row() const
get the row of this item from the parent
void deleteSubtree()
delete the whole subtree below this item ( The item itself is not touched )
DataType dataType()
dataType
QList< TreeItemObjectSelection * > getLeafs()
get all leafes of the tree below this object ( These will be all visible objects ) ...
void removeChild(TreeItemObjectSelection *_item)
Remove a child from this object.
TreeItemObjectSelection * child(int row)
return a child
QList< TreeItemObjectSelection * > childItems_
Children of this node.
void setParent(TreeItemObjectSelection *_parent)
Set the parent pointer.
int childCount() const
get the number of children
TreeItemObjectSelection * childExists(int _objectId)
Check if the element exists in the subtree of this element.