Diffstat (limited to 'noncore/apps/checkbook/traninfo.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/checkbook/traninfo.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/noncore/apps/checkbook/traninfo.h b/noncore/apps/checkbook/traninfo.h index f6c5cae..0abdc61 100644 --- a/noncore/apps/checkbook/traninfo.h +++ b/noncore/apps/checkbook/traninfo.h @@ -42,6 +42,9 @@ class TranInfo float = 0.0, float = 0.0, - const QString & = 0x0, const QString & = 0x0 ); + const QString & = 0x0, const QString & = 0x0, int =-1 ); TranInfo( Config, int ); + // getters int id() const { return i; } + const QString &getIdStr(); + const QString &desc() const { return d; } @@ -56,3 +59,5 @@ class TranInfo const QString ¬es() const { return n; } + int getNext() { return(_next); } + // setters void setDesc( const QString &desc ) { d = desc; } @@ -66,4 +71,9 @@ class TranInfo void setNotes( const QString ¬es ) { n = notes; } + void setNext(int next) { _next=next; } + + // write + void write( Config * ); - void write( Config *, int ); + // toString + QString toString(); @@ -80,2 +90,3 @@ class TranInfo QString n; + int _next; }; |