Public Types | |
enum | Columns { Description, Type, LastColumn } |
Public Member Functions | |
ResourceModel (domain::TaskManagerData *data, QList< domain::Resource * > shownResources=QList< domain::Resource * >()) | |
int | columnCount (const QModelIndex &parent=QModelIndex()) const |
int | rowCount (const QModelIndex &parent=QModelIndex()) const |
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
domain::Resource * | resourceForIndex (const QModelIndex &index) const |
QModelIndex | indexForResource (domain::Resource *resource) const |
Private Member Functions | |
QList< domain::Resource * > | resources () const |
Private Attributes | |
QList< domain::Resource * > | resourcesList |
Definition at line 14 of file resourcemodel.h.