Diffstat (limited to 'noncore/apps/checkbook/cfg.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/checkbook/cfg.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/noncore/apps/checkbook/cfg.h b/noncore/apps/checkbook/cfg.h index 2b69368..20692b4 100644 --- a/noncore/apps/checkbook/cfg.h +++ b/noncore/apps/checkbook/cfg.h | |||
@@ -79,2 +79,7 @@ class Cfg | |||
79 | 79 | ||
80 | // --- Payees | ||
81 | QStringList &getPayees() { return(_Payees); } | ||
82 | bool getSavePayees() { return(_bSavePayees); } | ||
83 | void setSavePayees(bool bSave) { _bSavePayees=bSave; } | ||
84 | |||
80 | // --- Categories | 85 | // --- Categories |
@@ -100,2 +105,7 @@ class Cfg | |||
100 | 105 | ||
106 | // --- dirty flag | ||
107 | bool isDirty() { return(_bDirty); } | ||
108 | void setDirty(bool bDirty) { _bDirty=bDirty; } | ||
109 | |||
110 | protected: | ||
101 | // --- reads list from config file | 111 | // --- reads list from config file |
@@ -106,4 +116,2 @@ class Cfg | |||
106 | 116 | ||
107 | |||
108 | |||
109 | private: | 117 | private: |
@@ -114,2 +122,4 @@ class Cfg | |||
114 | bool _showLastTab; | 122 | bool _showLastTab; |
123 | bool _bDirty; | ||
124 | bool _bSavePayees; | ||
115 | QString _sLastBook; | 125 | QString _sLastBook; |
@@ -117,2 +127,4 @@ class Cfg | |||
117 | CategoryList *_pCategories; | 127 | CategoryList *_pCategories; |
128 | QStringList _Payees; | ||
129 | |||
118 | }; | 130 | }; |