|
| | GroupItem () |
| |
| Qt::CheckState | checkState () const |
| | Returns the check state of this item.
|
| |
| int | childIndex () const |
| | Returns the index of this item under its parent.
|
| |
| QList< Item * > & | children () |
| | Returns the list of child items of this node.
|
| |
| virtual QVariant | data (int role=Qt::DisplayRole) const |
| | Returns data for this item.
|
| |
| virtual bool | fitFor (CSwordModuleInfo const &module) const =0 |
| | Returns whether this item is fit to contain the given module.
|
| |
| template<class T > |
| T * | getGroupItem (CSwordModuleInfo const &module, int &outIndex) |
| |
| int | indexFor (Item const &newItem) |
| | Returns the position for where the given child item would be inserted.
|
| |
| void | insertChild (int const index, Item *const newItem) |
| | Inserts the given item as a child at the given index.
|
| |
| | Item (Type const type) |
| |
| virtual bool | operator< (Item const &other) const |
| | Comparsion operator used sorting child items.
|
| |
| Item * | parent () const |
| | Returns a pointer to the parent item of this item.
|
| |
| void | setCheckState (Qt::CheckState const state) |
| | Sets the check state of this item.
|
| |
| Type | type () const |
| | Returns the type of this item.
|
| |
| virtual | ~Item () |
| |
template<
Item::Type TYPE>
class BookshelfModel::GroupItem< TYPE >
Definition at line 159 of file item.h.