control::ResourceModel Class Reference

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

List of all members.

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::ResourceresourceForIndex (const QModelIndex &index) const
QModelIndex indexForResource (domain::Resource *resource) const

Private Member Functions

QList< domain::Resource * > resources () const

Private Attributes

QList< domain::Resource * > resourcesList

Detailed Description

Definition at line 14 of file resourcemodel.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