casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
casa::DirItem Class Reference

#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)
 
DirItemchild (int row)
 
int childCount () const
 
int columnCount () const
 
QVariant data (int column) const
 
int row () const
 
DirItemparent ()
 

Private Attributes

QList< DirItem * > childItems
 
QList< QVariant > itemData
 
DirItemparentItem
 

Detailed Description

Definition at line 38 of file diritem.h.

Constructor & Destructor Documentation

casa::DirItem::DirItem ( const QList< QVariant > &  data,
DirItem parent = 0 
)
casa::DirItem::~DirItem ( )

Member Function Documentation

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 
)
DirItem* casa::DirItem::parent ( )
void casa::DirItem::removeChildAt ( int  child)
int casa::DirItem::row ( ) const

Member Data Documentation

QList<DirItem*> casa::DirItem::childItems
private

Definition at line 56 of file diritem.h.

QList<QVariant> casa::DirItem::itemData
private

Definition at line 57 of file diritem.h.

DirItem* casa::DirItem::parentItem
private

Definition at line 58 of file diritem.h.


The documentation for this class was generated from the following file: