Diffstat (limited to 'noncore/apps/checkbook/checkbook.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/checkbook/checkbook.h | 25 |
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 @@ -30,6 +30,4 @@ #define CHECKBOOK_H -#include "traninfo.h" - #include <qdialog.h> #include <qlistview.h> @@ -37,4 +35,5 @@ class OTabWidget; +class CBInfo; class Graph; class GraphInfo; @@ -46,4 +45,6 @@ class QListView; class QMultiLineEdit; class QString; +class TranInfo; +class TranInfoList; class Checkbook : public QDialog @@ -52,22 +53,16 @@ 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; OTabWidget *mainWidget; void loadCheckbook(); - void adjustBalance( float ); + void adjustBalance(); TranInfo *findTran( const QString &, const QString &, const QString & ); @@ -82,5 +77,4 @@ class Checkbook : public QDialog QLineEdit *balanceEdit; QMultiLineEdit *notesEdit; - float startBalance; // Transactions tab @@ -88,5 +82,4 @@ class Checkbook : public QDialog QListView *tranTable; QLabel *balanceLabel; - float currBalance; // Charts tab |