libyui
|
#include <YTreeItem.h>
Item class for tree items.
This class implements children management.
Constructors for toplevel items.
Constructors for items that have a parent item.
They will automatically register this item with the parent item. The parent assumes ownership of this item and will delete it in its (the parent's) destructor.
|
virtual |
Destructor.
This will delete all children.
Add a child item to this item.
Note that the constructors that accept a parent pointer will automatically add themselves to their parent, so applications will normally not have to call this function.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from YItem.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from YItem.
|
virtual |
Delete all child items.
bool YTreeItem::isOpen | ( | ) | const |
Return 'true' if this tree item should be displayed open (with its children visible) by default.
Notice that this will always return 'false' for tree items without children.
Returns a descriptive name of this widget class for logging, debugging etc.
Reimplemented from YItem.
Reimplemented in YTableItem.