#include <YQTree.h>
Public Member Functions | |
YQTreeItem (YQTree *tree, QListView *parent, YTreeItem *origItem, int serial) | |
YQTreeItem (YQTree *tree, YQTreeItem *parent, YTreeItem *origItem, int serial) | |
void | buildSubTree (YTreeItemList &items, int &nextSerialNo) |
YTreeItem * | origItem () |
virtual void | setOpen (bool open) |
Protected Member Functions | |
QString | key (int column, bool ascending) const |
Protected Attributes | |
YQTree * | _tree |
YTreeItem * | _origItem |
int | _serialNo |
Private Member Functions | |
void | init (YQTree *tree, YTreeItem *yTreeItem, int serial) |
|
Constructor for a top level item. |
|
Constructor for a non-top level item. |
|
Recursively build the subtree corresponding to 'items'. |
|
Init function. All constructors end up here. |
|
Sort key of this item. Inherited by QListViewItem. |
|
Returns the original YTreeItem of which this item is a clone. |
|
Open this item. Reimplemented from QListViewItem. |
|
The original YTreeItem of which this item is a clone. |
|
The serial number of this item so the insertion sort order can be maintained at all times. |
|
The YQTree parent this item belongs to. |