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