OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
ContentSelectorModel::ModelItem Class Reference

#include <modelitem.hpp>

Inheritance diagram for ContentSelectorModel::ModelItem:
Collaboration diagram for ContentSelectorModel::ModelItem:

Public Member Functions

 ModelItem (ModelItem *parent=0)
 
 ~ModelItem ()
 
ModelItemparent () const
 
int row () const
 
int childCount () const
 
int childRow (ModelItem *child) const
 
ModelItemchild (int row)
 
void appendChild (ModelItem *child)
 
void removeChild (int row)
 
bool hasFormat (const QString &mimetype) const
 

Protected Attributes

ModelItemmParentItem
 
QList< ModelItem * > mChildItems
 

Constructor & Destructor Documentation

ContentSelectorModel::ModelItem::ModelItem ( ModelItem parent = 0)
ContentSelectorModel::ModelItem::~ModelItem ( )

Member Function Documentation

void ContentSelectorModel::ModelItem::appendChild ( ModelItem child)
ContentSelectorModel::ModelItem * ContentSelectorModel::ModelItem::child ( int  row)
int ContentSelectorModel::ModelItem::childCount ( ) const
int ContentSelectorModel::ModelItem::childRow ( ModelItem child) const
bool ContentSelectorModel::ModelItem::hasFormat ( const QString &  mimetype) const
ContentSelectorModel::ModelItem * ContentSelectorModel::ModelItem::parent ( ) const
void ContentSelectorModel::ModelItem::removeChild ( int  row)
int ContentSelectorModel::ModelItem::row ( ) const

Member Data Documentation

QList<ModelItem*> ContentSelectorModel::ModelItem::mChildItems
protected
ModelItem* ContentSelectorModel::ModelItem::mParentItem
protected

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