Public Types | |
enum | Columns { Task, Time, Duration, LastColumn } |
Public Member Functions | |
ResourceReservationModel (const domain::Resource *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 |
const domain::Reservation * | reservationForIndex (const QModelIndex &index) const |
Private Attributes | |
QList< const domain::Reservation * > | reservations |
Definition at line 17 of file resourcereservationmodel.h.