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