DocumentChooserModel Class Reference

#include <documentchoosermodel.h>

Collaboration diagram for DocumentChooserModel:

Collaboration graph
[legend]

List of all members.

Signals

void documentRemoved (int fileid)

Public Member Functions

 DocumentChooserModel (QObject *parent=0)
 ~DocumentChooserModel ()
QVariant data (const QModelIndex &index, int role) const
Qt::ItemFlags flags (const QModelIndex &index) const
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const
QModelIndex parent (const QModelIndex &index) const
int rowCount (const QModelIndex &parent=QModelIndex()) const
int columnCount (const QModelIndex &parent=QModelIndex()) const
DocumentItemrootItem ()
DocumentItemdocumentItem (int fileid, int documentType) const
DocumentItemdocumentItem (QString documenttype, QString filename) const
AbstractModelabstractModel (int fileid, int documentType) const
void addDocument (AbstractModel *model)
void deleteDocument (int fileid, int documentType)
void clear ()
bool fileExists (const QString &name) const
CostTypeModelcostTypeModelById (int fileId)


Detailed Description

Definition at line 10 of file documentchoosermodel.h.


Constructor & Destructor Documentation

DocumentChooserModel::DocumentChooserModel ( QObject *  parent = 0  ) 

Definition at line 9 of file documentchoosermodel.cpp.

DocumentChooserModel::~DocumentChooserModel (  ) 

Definition at line 19 of file documentchoosermodel.cpp.


Member Function Documentation

AbstractModel * DocumentChooserModel::abstractModel ( int  fileid,
int  documentType 
) const

Definition at line 129 of file documentchoosermodel.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void DocumentChooserModel::addDocument ( AbstractModel model  ) 

Definition at line 244 of file documentchoosermodel.cpp.

Here is the call graph for this function:

void DocumentChooserModel::clear (  ) 

Definition at line 302 of file documentchoosermodel.cpp.

Here is the call graph for this function:

int DocumentChooserModel::columnCount ( const QModelIndex &  parent = QModelIndex()  )  const

Definition at line 24 of file documentchoosermodel.cpp.

Here is the call graph for this function:

CostTypeModel * DocumentChooserModel::costTypeModelById ( int  fileId  ) 

Definition at line 330 of file documentchoosermodel.cpp.

Here is the call graph for this function:

QVariant DocumentChooserModel::data ( const QModelIndex &  index,
int  role 
) const

Definition at line 36 of file documentchoosermodel.cpp.

Here is the call graph for this function:

void DocumentChooserModel::deleteDocument ( int  fileid,
int  documentType 
)

Definition at line 278 of file documentchoosermodel.cpp.

Here is the call graph for this function:

DocumentItem * DocumentChooserModel::documentItem ( QString  documenttype,
QString  filename 
) const

Definition at line 107 of file documentchoosermodel.cpp.

Here is the call graph for this function:

DocumentItem * DocumentChooserModel::documentItem ( int  fileid,
int  documentType 
) const

Definition at line 85 of file documentchoosermodel.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void DocumentChooserModel::documentRemoved ( int  fileid  )  [signal]

Here is the caller graph for this function:

bool DocumentChooserModel::fileExists ( const QString &  name  )  const

Definition at line 313 of file documentchoosermodel.cpp.

Here is the call graph for this function:

Qt::ItemFlags DocumentChooserModel::flags ( const QModelIndex &  index  )  const

Definition at line 151 of file documentchoosermodel.cpp.

QVariant DocumentChooserModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const

Definition at line 161 of file documentchoosermodel.cpp.

Here is the call graph for this function:

QModelIndex DocumentChooserModel::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const

Definition at line 171 of file documentchoosermodel.cpp.

Here is the call graph for this function:

QModelIndex DocumentChooserModel::parent ( const QModelIndex &  index  )  const

Definition at line 200 of file documentchoosermodel.cpp.

Here is the call graph for this function:

DocumentItem* DocumentChooserModel::rootItem (  )  [inline]

Definition at line 27 of file documentchoosermodel.h.

int DocumentChooserModel::rowCount ( const QModelIndex &  parent = QModelIndex()  )  const

Definition at line 218 of file documentchoosermodel.cpp.

Here is the call graph for this function:


The documentation for this class was generated from the following files:

Generated on Mon Jun 15 15:34:25 2009 for Allevo I Costcalculation by  doxygen 1.5.9