control::InvitationModel Class Reference

Inheritance diagram for control::InvitationModel:
Inheritance graph
[legend]
Collaboration diagram for control::InvitationModel:
Collaboration graph
[legend]

List of all members.

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::InvitationinvitationForIndex (const QModelIndex &index) const
QModelIndex indexForInvitation (const domain::Invitation *invitation) const

Private Member Functions

QList< const domain::Invitation * > invitations () const

Private Attributes

const domain::TasktaskToShow
const domain::UseruserToShow
int shownStates

Detailed Description

Definition at line 17 of file invitationmodel.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Enumerations Enumerator
Generated on Thu May 27 14:20:06 2010 for MopTaskManager by  doxygen 1.6.3