casa
$Rev:20696$
|
#include <diritem.h>
Public Member Functions | |
DirItem (const QList< QVariant > &data, DirItem *parent=0) | |
~DirItem () | |
void | appendChild (DirItem *child) |
void | removeChildAt (int child) |
void | insertChildAt (int row, DirItem *child) |
DirItem * | child (int row) |
int | childCount () const |
int | columnCount () const |
QVariant | data (int column) const |
int | row () const |
DirItem * | parent () |
Private Attributes | |
QList< DirItem * > | childItems |
QList< QVariant > | itemData |
DirItem * | parentItem |
casa::DirItem::DirItem | ( | const QList< QVariant > & | data, |
DirItem * | parent = 0 |
||
) |
void casa::DirItem::appendChild | ( | DirItem * | child | ) |
DirItem* casa::DirItem::child | ( | int | row | ) |
int casa::DirItem::childCount | ( | ) | const |
int casa::DirItem::columnCount | ( | ) | const |
QVariant casa::DirItem::data | ( | int | column | ) | const |
void casa::DirItem::insertChildAt | ( | int | row, |
DirItem * | child | ||
) |
void casa::DirItem::removeChildAt | ( | int | child | ) |
int casa::DirItem::row | ( | ) | const |
QList<DirItem*> casa::DirItem::childItems [private] |
QList<QVariant> casa::DirItem::itemData [private] |
DirItem* casa::DirItem::parentItem [private] |