summaryrefslogtreecommitdiff
path: root/noncore/apps/checkbook/traninfo.h
Unidiff
Diffstat (limited to 'noncore/apps/checkbook/traninfo.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/checkbook/traninfo.h15
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
42 float = 0.0, float = 0.0, 42 float = 0.0, float = 0.0,
43 const QString & = 0x0, const QString & = 0x0 ); 43 const QString & = 0x0, const QString & = 0x0, int =-1 );
44 TranInfo( Config, int ); 44 TranInfo( Config, int );
45 45
46 // getters
46 int id() const { return i; } 47 int id() const { return i; }
48 const QString &getIdStr();
49
47 const QString &desc() const { return d; } 50 const QString &desc() const { return d; }
@@ -56,3 +59,5 @@ class TranInfo
56 const QString &notes() const { return n; } 59 const QString &notes() const { return n; }
60 int getNext() { return(_next); }
57 61
62 // setters
58 void setDesc( const QString &desc ) { d = desc; } 63 void setDesc( const QString &desc ) { d = desc; }
@@ -66,4 +71,9 @@ class TranInfo
66 void setNotes( const QString &notes ) { n = notes; } 71 void setNotes( const QString &notes ) { n = notes; }
72 void setNext(int next) { _next=next; }
73
74 // write
75 void write( Config * );
67 76
68 void write( Config *, int ); 77 // toString
78 QString toString();
69 79
@@ -80,2 +90,3 @@ class TranInfo
80 QString n; 90 QString n;
91 int _next;
81}; 92};