Public Types | |
enum | Columns { Task, InvitedUser, UserType, Status, LastColumn } |
Public Member Functions | |
InvitationModel (domain::TaskManagerData *data, int states=domain::Invitation::All) | |
InvitationModel (domain::TaskManagerData *data, const domain::Task *task, int states=domain::Invitation::All) | |
InvitationModel (domain::TaskManagerData *data, const domain::User *user, int states=domain::Invitation::All) | |
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::Invitation * | invitationForIndex (const QModelIndex &index) const |
QModelIndex | indexForInvitation (const domain::Invitation *invitation) const |
Private Member Functions | |
QList< const domain::Invitation * > | invitations () const |
Private Attributes | |
const domain::Task * | taskToShow |
const domain::User * | userToShow |
int | shownStates |
Definition at line 17 of file invitationmodel.h.