Diffstat (limited to 'noncore/apps/checkbook/configuration.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/checkbook/configuration.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/apps/checkbook/configuration.h b/noncore/apps/checkbook/configuration.h index 663514d..44c9717 100644 --- a/noncore/apps/checkbook/configuration.h +++ b/noncore/apps/checkbook/configuration.h | |||
@@ -27,43 +27,44 @@ | |||
27 | */ | 27 | */ |
28 | 28 | ||
29 | #ifndef CONFIGURATION_H | 29 | #ifndef CONFIGURATION_H |
30 | #define CONFIGURATION_H | 30 | #define CONFIGURATION_H |
31 | 31 | ||
32 | #include <qdialog.h> | 32 | #include <qdialog.h> |
33 | #include "cfg.h" | 33 | #include "cfg.h" |
34 | 34 | ||
35 | class QCheckBox; | 35 | class QCheckBox; |
36 | class QLineEdit; | 36 | class QLineEdit; |
37 | class QString; | 37 | class QString; |
38 | class QTabWidget; | 38 | class QTabWidget; |
39 | class ListEdit; | 39 | class ListEdit; |
40 | 40 | ||
41 | class Configuration : public QDialog | 41 | class Configuration : public QDialog |
42 | { | 42 | { |
43 | Q_OBJECT | 43 | Q_OBJECT |
44 | 44 | ||
45 | public: | 45 | public: |
46 | // Constructor | 46 | // Constructor |
47 | Configuration( QWidget *, Cfg &cfg); | 47 | Configuration( QWidget *, Cfg &cfg); |
48 | ~Configuration(); | 48 | ~Configuration(); |
49 | 49 | ||
50 | QLineEdit *symbolEdit; | 50 | QLineEdit *symbolEdit; |
51 | QCheckBox *smallFontCB; | ||
51 | QCheckBox *lockCB; | 52 | QCheckBox *lockCB; |
52 | QCheckBox *balCB; | 53 | QCheckBox *balCB; |
53 | QCheckBox *openLastBookCB; | 54 | QCheckBox *openLastBookCB; |
54 | QCheckBox *lastTabCB; | 55 | QCheckBox *lastTabCB; |
55 | QCheckBox *savePayees; | 56 | QCheckBox *savePayees; |
56 | QTabWidget *_mainWidget; | 57 | QTabWidget *_mainWidget; |
57 | ListEdit *_listEditTypes; | 58 | ListEdit *_listEditTypes; |
58 | ListEdit *_listEditCategories; | 59 | ListEdit *_listEditCategories; |
59 | ListEdit *_listEditPayees; | 60 | ListEdit *_listEditPayees; |
60 | 61 | ||
61 | // saves settings in config struct | 62 | // saves settings in config struct |
62 | void saveConfig(Cfg &cfg); | 63 | void saveConfig(Cfg &cfg); |
63 | 64 | ||
64 | protected: | 65 | protected: |
65 | // creates settings tap from configuration | 66 | // creates settings tap from configuration |
66 | QWidget *initSettings(Cfg &cfg); | 67 | QWidget *initSettings(Cfg &cfg); |
67 | }; | 68 | }; |
68 | 69 | ||
69 | #endif | 70 | #endif |