summaryrefslogtreecommitdiff
path: root/noncore/apps/checkbook/cfg.h
Side-by-side diff
Diffstat (limited to 'noncore/apps/checkbook/cfg.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/checkbook/cfg.h16
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
+ // --- Payees
+ QStringList &getPayees() { return(_Payees); }
+ bool getSavePayees() { return(_bSavePayees); }
+ void setSavePayees(bool bSave) { _bSavePayees=bSave; }
+
// --- Categories
@@ -100,2 +105,7 @@ class Cfg
+ // --- dirty flag
+ bool isDirty() { return(_bDirty); }
+ void setDirty(bool bDirty) { _bDirty=bDirty; }
+
+ protected:
// --- reads list from config file
@@ -106,4 +116,2 @@ class Cfg
-
-
private:
@@ -114,2 +122,4 @@ class Cfg
bool _showLastTab;
+ bool _bDirty;
+ bool _bSavePayees;
QString _sLastBook;
@@ -117,2 +127,4 @@ class Cfg
CategoryList *_pCategories;
+ QStringList _Payees;
+
};