author | drw <drw> | 2002-12-04 02:12:25 (UTC) |
---|---|---|
committer | drw <drw> | 2002-12-04 02:12:25 (UTC) |
commit | d000538b68b3411a409e829c4e68f42f9646b940 (patch) (unidiff) | |
tree | 72abee0785a595ef9d5edf9ecd20743a9ff16559 /noncore/apps/checkbook/checkbook.h | |
parent | 9b23bf789c15bcc84dabc400f16fa38ff3a34ebd (diff) | |
download | opie-d000538b68b3411a409e829c4e68f42f9646b940.zip opie-d000538b68b3411a409e829c4e68f42f9646b940.tar.gz opie-d000538b68b3411a409e829c4e68f42f9646b940.tar.bz2 |
Abstracted checkbook storage, added new main window display/configuration options.
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 | |||
@@ -31,4 +31,2 @@ | |||
31 | 31 | ||
32 | #include "traninfo.h" | ||
33 | |||
34 | #include <qdialog.h> | 32 | #include <qdialog.h> |
@@ -38,2 +36,3 @@ class OTabWidget; | |||
38 | 36 | ||
37 | class CBInfo; | ||
39 | class Graph; | 38 | class Graph; |
@@ -47,2 +46,4 @@ class QMultiLineEdit; | |||
47 | class QString; | 46 | class QString; |
47 | class TranInfo; | ||
48 | class TranInfoList; | ||
48 | 49 | ||
@@ -53,16 +54,10 @@ class Checkbook : public QDialog | |||
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 | ||
@@ -70,3 +65,3 @@ class Checkbook : public QDialog | |||
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 & ); |
@@ -83,3 +78,2 @@ class Checkbook : public QDialog | |||
83 | QMultiLineEdit *notesEdit; | 78 | QMultiLineEdit *notesEdit; |
84 | float startBalance; | ||
85 | 79 | ||
@@ -89,3 +83,2 @@ class Checkbook : public QDialog | |||
89 | QLabel *balanceLabel; | 83 | QLabel *balanceLabel; |
90 | float currBalance; | ||
91 | 84 | ||