DataAccountingRecord Class Reference

Data class holding the information of an accounting record (Buchungssatz). More...

#include <dataaccountingrecord.h>

List of all members.

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 ()


Detailed Description

Data class holding the information of an accounting record (Buchungssatz).

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.


Constructor & Destructor Documentation

DataAccountingRecord::DataAccountingRecord (  ) 

Definition at line 122 of file dataaccountingrecord.cpp.

DataAccountingRecord::~DataAccountingRecord (  ) 

Definition at line 127 of file dataaccountingrecord.cpp.


Member Function Documentation

void DataAccountingRecord::changed (  )  [signal]

Here is the caller graph for this function:

QList<QPair<int, double> *>* DataAccountingRecord::credits (  )  [inline]

Definition at line 23 of file dataaccountingrecord.h.

Here is the caller graph for this function:

void DataAccountingRecord::dataChanged (  )  [inline, slot]

Definition at line 41 of file dataaccountingrecord.h.

Here is the call graph for this function:

QDate DataAccountingRecord::date (  )  [inline]

Definition at line 25 of file dataaccountingrecord.h.

Here is the caller graph for this function:

QList<QPair<int, double> *>* DataAccountingRecord::debits (  )  [inline]

Definition at line 22 of file dataaccountingrecord.h.

Here is the caller graph for this function:

QString DataAccountingRecord::documentNumber (  )  [inline]

Definition at line 24 of file dataaccountingrecord.h.

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

void DataAccountingRecord::setDocumentNumberValue ( QString  accountingNumber  )  [inline]

Definition at line 27 of file dataaccountingrecord.h.

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:39:24 2009 for Allevo II Doublebookkeeping by  doxygen 1.5.9