OwnCapitalCalculationModel Class Reference

#include <owncapitalcalculationmodel.h>

List of all members.

Public Slots

void loadDataNode (const QDomElement file)

Signals

void newTotalAvailable (QString)

Public Member Functions

 OwnCapitalCalculationModel (QObject *parent=0)
int rowCount (const QModelIndex &parent) const
int columnCount (const QModelIndex &parent) const
QVariant headerData (int section, Qt::Orientation orientation, int role) const
QVariant data (const QModelIndex &index, int role) const
Qt::ItemFlags flags (const QModelIndex &index) const
bool setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
bool insertRows (int position, int rows, const QModelIndex &index=QModelIndex())
bool removeRows (int position, int rows, const QModelIndex &index=QModelIndex())
QList< QStringList > getList ()
void clear ()
void addRow (QString positionname, QString result, QString replacementvalue, QString revenues, QString usefullife, QString lifetime)
void refreshSums ()
QDomElement dataNode ()


Detailed Description

Definition at line 8 of file owncapitalcalculationmodel.h.


Constructor & Destructor Documentation

OwnCapitalCalculationModel::OwnCapitalCalculationModel ( QObject *  parent = 0  ) 

Definition at line 5 of file owncapitalcalculationmodel.cpp.


Member Function Documentation

void OwnCapitalCalculationModel::addRow ( QString  positionname,
QString  result,
QString  replacementvalue,
QString  revenues,
QString  usefullife,
QString  lifetime 
)

Definition at line 208 of file owncapitalcalculationmodel.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void OwnCapitalCalculationModel::clear (  ) 

int OwnCapitalCalculationModel::columnCount ( const QModelIndex &  parent  )  const

Definition at line 51 of file owncapitalcalculationmodel.cpp.

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

Definition at line 103 of file owncapitalcalculationmodel.cpp.

QDomElement OwnCapitalCalculationModel::dataNode (  ) 

Definition at line 9 of file owncapitalcalculationmodel.cpp.

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

Definition at line 243 of file owncapitalcalculationmodel.cpp.

QList< QStringList > OwnCapitalCalculationModel::getList (  ) 

Definition at line 252 of file owncapitalcalculationmodel.cpp.

QVariant OwnCapitalCalculationModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role 
) const

Definition at line 57 of file owncapitalcalculationmodel.cpp.

Here is the call graph for this function:

bool OwnCapitalCalculationModel::insertRows ( int  position,
int  rows,
const QModelIndex &  index = QModelIndex() 
)

Definition at line 154 of file owncapitalcalculationmodel.cpp.

Here is the caller graph for this function:

void OwnCapitalCalculationModel::loadDataNode ( const QDomElement  file  )  [slot]

Definition at line 30 of file owncapitalcalculationmodel.cpp.

Here is the call graph for this function:

void OwnCapitalCalculationModel::newTotalAvailable ( QString   )  [signal]

Here is the caller graph for this function:

void OwnCapitalCalculationModel::refreshSums (  ) 

Definition at line 233 of file owncapitalcalculationmodel.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool OwnCapitalCalculationModel::removeRows ( int  position,
int  rows,
const QModelIndex &  index = QModelIndex() 
)

Definition at line 171 of file owncapitalcalculationmodel.cpp.

Here is the call graph for this function:

int OwnCapitalCalculationModel::rowCount ( const QModelIndex &  parent  )  const

Definition at line 45 of file owncapitalcalculationmodel.cpp.

bool OwnCapitalCalculationModel::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role = Qt::EditRole 
)

Definition at line 188 of file owncapitalcalculationmodel.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


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

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