Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

YQTreeItem Class Reference

#include <YQTree.h>

List of all members.

Public Member Functions

 YQTreeItem (YQTree *tree, QListView *parent, const YTreeItem *origItem, int serial)
 YQTreeItem (YQTree *tree, YQTreeItem *parent, const YTreeItem *origItem, int serial)
void buildSubTree (YTreeItemList &items, int &nextSerialNo)
const YTreeItemorigItem ()

Protected Member Functions

QString key (int column, bool ascending) const

Protected Attributes

YQTree_tree
const YTreeItem_origItem
int _serialNo

Private Member Functions

void init (YQTree *tree, const YTreeItem *yTreeItem, int serial)


Constructor & Destructor Documentation

YQTreeItem::YQTreeItem YQTree tree,
QListView *  parent,
const YTreeItem origItem,
int  serial
 

Constructor for a top level item.

YQTreeItem::YQTreeItem YQTree tree,
YQTreeItem parent,
const YTreeItem origItem,
int  serial
 

Constructor for a non-top level item.


Member Function Documentation

void YQTreeItem::buildSubTree YTreeItemList items,
int &  nextSerialNo
 

Recursively build the subtree corresponding to 'items'.

void YQTreeItem::init YQTree tree,
const YTreeItem yTreeItem,
int  serial
[private]
 

Init function. All constructors end up here.

QString YQTreeItem::key int  column,
bool  ascending
const [protected]
 

Sort key of this item. Inherited by QListViewItem.

const YTreeItem* YQTreeItem::origItem  )  [inline]
 

Returns the original YTreeItem of which this item is a clone.


Member Data Documentation

const YTreeItem* YQTreeItem::_origItem [protected]
 

The original YTreeItem of which this item is a clone.

int YQTreeItem::_serialNo [protected]
 

The serial number of this item so the insertion sort order can be maintained at all times.

YQTree* YQTreeItem::_tree [protected]
 

The YQTree parent this item belongs to.


The documentation for this class was generated from the following files:
Generated on Fri Oct 14 19:03:50 2005 for yast2-qt by doxygen 1.3.6