#include <abstractmodel.h>
Inherited by CostCentreModel, CostTypeModel, and CostUnitModel.
Public Member Functions | |
AbstractModel () | |
AbstractModel (int f, int t, QString n) | |
virtual | ~AbstractModel () |
void | setFileId (int fi) |
void | setType (int t) |
void | setFileName (QString n) |
int | fileId () |
int | type () |
QString | fileName () |
virtual bool | loadDocument (const QDomElement) |
virtual QDomElement | documentNode () |
Definition at line 8 of file abstractmodel.h.
AbstractModel::AbstractModel | ( | ) |
Definition at line 3 of file abstractmodel.cpp.
AbstractModel::AbstractModel | ( | int | f, | |
int | t, | |||
QString | n | |||
) |
Definition at line 8 of file abstractmodel.cpp.
AbstractModel::~AbstractModel | ( | ) | [virtual] |
Definition at line 13 of file abstractmodel.cpp.
QDomElement AbstractModel::documentNode | ( | ) | [virtual] |
Reimplemented in CostCentreModel, CostTypeModel, and CostUnitModel.
Definition at line 23 of file abstractmodel.cpp.
int AbstractModel::fileId | ( | ) | [inline] |
QString AbstractModel::fileName | ( | ) | [inline] |
bool AbstractModel::loadDocument | ( | const | QDomElement | ) | [virtual] |
Reimplemented in CostCentreModel, CostTypeModel, and CostUnitModel.
Definition at line 18 of file abstractmodel.cpp.
void AbstractModel::setFileId | ( | int | fi | ) | [inline] |
Definition at line 15 of file abstractmodel.h.
void AbstractModel::setFileName | ( | QString | n | ) | [inline] |
Definition at line 17 of file abstractmodel.h.
void AbstractModel::setType | ( | int | t | ) | [inline] |
Definition at line 16 of file abstractmodel.h.
int AbstractModel::type | ( | ) | [inline] |