#include <dataaccountingrecord.h>
Public Slots | |
void | dataChanged () |
Signals | |
void | changed () |
Public Member Functions | |
QList< QPair< int, double > * > * | debits () |
QList< QPair< int, double > * > * | credits () |
QString | documentNumber () |
QDate | date () |
void | setDate (QString date) |
void | setDocumentNumberValue (QString accountingNumber) |
bool | isEmpty () |
void | hash (unsigned int &startValue) |
bool | loadDataNode (const QDomNode data) |
QDomElement | saveDataNode (QDomDocument *xml) |
DataAccountingRecord () | |
~DataAccountingRecord () |
Represents the content of the XML tag <record>, which is stored in <records> or <solution>, which then is stored in <exercise>. See doc/Hacking/Proposals/daten.dbku and doc/Planning/Datenmodell.pdf
Definition at line 17 of file dataaccountingrecord.h.
DataAccountingRecord::DataAccountingRecord | ( | ) |
Definition at line 122 of file dataaccountingrecord.cpp.
DataAccountingRecord::~DataAccountingRecord | ( | ) |
Definition at line 127 of file dataaccountingrecord.cpp.
void DataAccountingRecord::changed | ( | ) | [signal] |
QList<QPair<int, double> *>* DataAccountingRecord::credits | ( | ) | [inline] |
void DataAccountingRecord::dataChanged | ( | ) | [inline, slot] |
QDate DataAccountingRecord::date | ( | ) | [inline] |
QList<QPair<int, double> *>* DataAccountingRecord::debits | ( | ) | [inline] |
QString DataAccountingRecord::documentNumber | ( | ) | [inline] |
void DataAccountingRecord::hash | ( | unsigned int & | startValue | ) |
Hash value of data
Definition at line 102 of file dataaccountingrecord.cpp.
bool DataAccountingRecord::isEmpty | ( | ) | [inline] |
Definition at line 28 of file dataaccountingrecord.h.
bool DataAccountingRecord::loadDataNode | ( | const QDomNode | data | ) |
Load the class attributes from the XML tag "record"
Definition at line 8 of file dataaccountingrecord.cpp.
QDomElement DataAccountingRecord::saveDataNode | ( | QDomDocument * | xml | ) |
Returns an XML tag "record" with the class attributes
Definition at line 71 of file dataaccountingrecord.cpp.
void DataAccountingRecord::setDate | ( | QString | date | ) | [inline] |
Definition at line 26 of file dataaccountingrecord.h.
void DataAccountingRecord::setDocumentNumberValue | ( | QString | accountingNumber | ) | [inline] |
Definition at line 27 of file dataaccountingrecord.h.