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 | |||
@@ -30,10 +30,12 @@ | |||
30 | #define MAINWINDOW_H | 30 | #define MAINWINDOW_H |
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 | ||
39 | class MainWindow : public QMainWindow | 41 | class MainWindow : public QMainWindow |
@@ -45,16 +47,30 @@ class MainWindow : public QMainWindow | |||
45 | ~MainWindow(); | 47 | ~MainWindow(); |
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; |
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 | ||
54 | private slots: | 69 | private slots: |
55 | void slotNew(); | 70 | void slotNew(); |
56 | void slotEdit(); | 71 | void slotEdit(); |
57 | void slotDelete(); | 72 | void slotDelete(); |
73 | void slotConfigure(); | ||
58 | }; | 74 | }; |
59 | 75 | ||
60 | #endif | 76 | #endif |