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 @@ | |||
30 | #define CHECKBOOK_H | 30 | #define CHECKBOOK_H |
31 | 31 | ||
32 | #include "traninfo.h" | ||
33 | |||
34 | #include <qdialog.h> | 32 | #include <qdialog.h> |
35 | #include <qlistview.h> | 33 | #include <qlistview.h> |
@@ -37,4 +35,5 @@ | |||
37 | class OTabWidget; | 35 | class OTabWidget; |
38 | 36 | ||
37 | class CBInfo; | ||
39 | class Graph; | 38 | class Graph; |
40 | class GraphInfo; | 39 | class GraphInfo; |
@@ -46,4 +45,6 @@ class QListView; | |||
46 | class QMultiLineEdit; | 45 | class QMultiLineEdit; |
47 | class QString; | 46 | class QString; |
47 | class TranInfo; | ||
48 | class TranInfoList; | ||
48 | 49 | ||
49 | class Checkbook : public QDialog | 50 | class Checkbook : public QDialog |
@@ -52,22 +53,16 @@ class Checkbook : public QDialog | |||
52 | 53 | ||
53 | public: | 54 | public: |
54 | Checkbook( QWidget * = 0x0, const QString & = 0x0, const QString & = 0x0, | 55 | Checkbook( QWidget * = 0x0, CBInfo * = 0x0, const QString & = "$" ); |
55 | const QString & = "$" ); | ||
56 | ~Checkbook(); | 56 | ~Checkbook(); |
57 | 57 | ||
58 | const QString &getName(); | ||
59 | |||
60 | private: | 58 | private: |
61 | TranInfoList transactions; | 59 | CBInfo *info; |
62 | QString name; | 60 | TranInfoList *tranList; |
63 | QString filename; | 61 | QString currencySymbol; |
64 | QString filedir; | 62 | int highTranNum; |
65 | QString currencySymbol; | ||
66 | QString password; | ||
67 | int highTranNum; | ||
68 | 63 | ||
69 | OTabWidget *mainWidget; | 64 | OTabWidget *mainWidget; |
70 | void loadCheckbook(); | 65 | void loadCheckbook(); |
71 | void adjustBalance( float ); | 66 | void adjustBalance(); |
72 | TranInfo *findTran( const QString &, const QString &, const QString & ); | 67 | TranInfo *findTran( const QString &, const QString &, const QString & ); |
73 | 68 | ||
@@ -82,5 +77,4 @@ class Checkbook : public QDialog | |||
82 | QLineEdit *balanceEdit; | 77 | QLineEdit *balanceEdit; |
83 | QMultiLineEdit *notesEdit; | 78 | QMultiLineEdit *notesEdit; |
84 | float startBalance; | ||
85 | 79 | ||
86 | // Transactions tab | 80 | // Transactions tab |
@@ -88,5 +82,4 @@ class Checkbook : public QDialog | |||
88 | QListView *tranTable; | 82 | QListView *tranTable; |
89 | QLabel *balanceLabel; | 83 | QLabel *balanceLabel; |
90 | float currBalance; | ||
91 | 84 | ||
92 | // Charts tab | 85 | // Charts tab |