int childCount() const
Definition: modelitem.cpp:43
QList< ModelItem * > mChildItems
Definition: modelitem.hpp:35
bool hasFormat(const QString &mimetype) const
Definition: modelitem.cpp:25
ModelItem * child(int row)
Definition: modelitem.cpp:55
int childRow(ModelItem *child) const
Definition: modelitem.cpp:48
ModelItem(ModelItem *parent=0)
Definition: modelitem.cpp:3
Definition: modelitem.hpp:9
void appendChild(ModelItem *child)
Definition: modelitem.cpp:61
ModelItem * mParentItem
Definition: modelitem.hpp:34
void removeChild(int row)
Definition: modelitem.cpp:66
~ModelItem()
Definition: modelitem.cpp:14
ModelItem * parent() const
Definition: modelitem.cpp:20
int row() const
Definition: modelitem.cpp:32