summaryrefslogtreecommitdiff
path: root/noncore/apps/checkbook/checkbook.h
Side-by-side diff
Diffstat (limited to 'noncore/apps/checkbook/checkbook.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/checkbook/checkbook.h25
1 files changed, 9 insertions, 16 deletions
diff --git a/noncore/apps/checkbook/checkbook.h b/noncore/apps/checkbook/checkbook.h
index 27658ff..4a5011b 100644
--- a/noncore/apps/checkbook/checkbook.h
+++ b/noncore/apps/checkbook/checkbook.h
@@ -31,4 +31,2 @@
-#include "traninfo.h"
-
#include <qdialog.h>
@@ -38,2 +36,3 @@ class OTabWidget;
+class CBInfo;
class Graph;
@@ -47,2 +46,4 @@ class QMultiLineEdit;
class QString;
+class TranInfo;
+class TranInfoList;
@@ -53,16 +54,10 @@ class Checkbook : public QDialog
public:
- Checkbook( QWidget * = 0x0, const QString & = 0x0, const QString & = 0x0,
- const QString & = "$" );
+ Checkbook( QWidget * = 0x0, CBInfo * = 0x0, const QString & = "$" );
~Checkbook();
- const QString &getName();
-
private:
- TranInfoList transactions;
- QString name;
- QString filename;
- QString filedir;
- QString currencySymbol;
- QString password;
- int highTranNum;
+ CBInfo *info;
+ TranInfoList *tranList;
+ QString currencySymbol;
+ int highTranNum;
@@ -70,3 +65,3 @@ class Checkbook : public QDialog
void loadCheckbook();
- void adjustBalance( float );
+ void adjustBalance();
TranInfo *findTran( const QString &, const QString &, const QString & );
@@ -83,3 +78,2 @@ class Checkbook : public QDialog
QMultiLineEdit *notesEdit;
- float startBalance;
@@ -89,3 +83,2 @@ class Checkbook : public QDialog
QLabel *balanceLabel;
- float currBalance;