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/mainwindow.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/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/checkbook/mainwindow.h | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/noncore/apps/checkbook/mainwindow.h b/noncore/apps/checkbook/mainwindow.h index 11a3343..2bc70b3 100644 --- a/noncore/apps/checkbook/mainwindow.h +++ b/noncore/apps/checkbook/mainwindow.h | |||
@@ -32,6 +32,8 @@ | |||
32 | #include <qmainwindow.h> | 32 | #include <qmainwindow.h> |
33 | #include <qpixmap.h> | ||
33 | 34 | ||
35 | class CBInfo; | ||
36 | class CBInfoList; | ||
34 | class QAction; | 37 | class QAction; |
35 | class QListBox; | 38 | class QListView; |
36 | class QListBoxItem; | ||
37 | class QString; | 39 | class QString; |
@@ -47,7 +49,20 @@ class MainWindow : public QMainWindow | |||
47 | private: | 49 | private: |
48 | QListBox *cbList; | 50 | QListView *cbList; |
49 | QString cbDir; | 51 | QString cbDir; |
50 | QAction *actionOpen; | 52 | QAction *actionOpen; |
51 | QAction *actionDelete; | 53 | QAction *actionDelete; |
52 | QString currencySymbol; | 54 | |
55 | QString currencySymbol; | ||
56 | bool showLocks; | ||
57 | bool showBalances; | ||
58 | int posName; | ||
59 | |||
60 | CBInfoList *checkbooks; | ||
61 | QString tempFilename; | ||
62 | QPixmap lockIcon; | ||
63 | QPixmap nullIcon; | ||
64 | |||
65 | void buildList(); | ||
66 | void addCheckbook( CBInfo * ); | ||
67 | void buildFilename( const QString & ); | ||
53 | 68 | ||
@@ -57,2 +72,3 @@ class MainWindow : public QMainWindow | |||
57 | void slotDelete(); | 72 | void slotDelete(); |
73 | void slotConfigure(); | ||
58 | }; | 74 | }; |