OpenMW
|
#include <modelitem.hpp>
Public Member Functions | |
ModelItem (ModelItem *parent=0) | |
~ModelItem () | |
ModelItem * | parent () const |
int | row () const |
int | childCount () const |
int | childRow (ModelItem *child) const |
ModelItem * | child (int row) |
void | appendChild (ModelItem *child) |
void | removeChild (int row) |
bool | hasFormat (const QString &mimetype) const |
Protected Attributes | |
ModelItem * | mParentItem |
QList< ModelItem * > | mChildItems |
ContentSelectorModel::ModelItem::ModelItem | ( | ModelItem * | parent = 0 | ) |
void ContentSelectorModel::ModelItem::appendChild | ( | ModelItem * | child | ) |
int ContentSelectorModel::ModelItem::childCount | ( | ) | const |
int ContentSelectorModel::ModelItem::childRow | ( | ModelItem * | child | ) | const |
bool ContentSelectorModel::ModelItem::hasFormat | ( | const QString & | mimetype | ) | const |
void ContentSelectorModel::ModelItem::removeChild | ( | int | row | ) |
int ContentSelectorModel::ModelItem::row | ( | ) | const |
QList<ModelItem*> ContentSelectorModel::ModelItem::mChildItems [protected] |
ModelItem* ContentSelectorModel::ModelItem::mParentItem [protected] |