control::TaskModel Class Reference

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

List of all members.

Public Types

enum  Columns {
  Id,
  Type,
  Status,
  User,
  Project,
  StartTime,
  Deadline,
  Duration,
  Fields,
  LastColumn
}

Public Member Functions

 TaskModel (domain::TaskManagerData *data, QList< const domain::Task * > shownTasks)
 TaskModel (domain::TaskManagerData *data)
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::TasktaskForIndex (const QModelIndex &index) const
QModelIndex indexForTask (const domain::Task *task) const

Private Member Functions

QString projectString (const domain::Task *task) const
QStringList fieldsString (const domain::Task *task) const
QList< const domain::Task * > tasks () const

Private Attributes

QList< const domain::Task * > taskList
bool showAll

Detailed Description

Definition at line 14 of file taskmodel.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:07 2010 for MopTaskManager by  doxygen 1.6.3