Diffstat (limited to 'noncore/apps/checkbook/mainwindow.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/checkbook/mainwindow.h | 22 |
1 files changed, 19 insertions, 3 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 | |||
@@ -31,8 +31,10 @@ | |||
31 | 31 | ||
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; |
38 | 40 | ||
@@ -46,9 +48,22 @@ class MainWindow : public QMainWindow | |||
46 | 48 | ||
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; |
54 | |||
52 | QString currencySymbol; | 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 | ||
54 | private slots: | 69 | private slots: |
@@ -56,4 +71,5 @@ class MainWindow : public QMainWindow | |||
56 | void slotEdit(); | 71 | void slotEdit(); |
57 | void slotDelete(); | 72 | void slotDelete(); |
73 | void slotConfigure(); | ||
58 | }; | 74 | }; |
59 | 75 | ||