-rw-r--r-- | libkdepim/kpimprefs.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libkdepim/kpimprefs.cpp b/libkdepim/kpimprefs.cpp index 140a286..a9ea330 100644 --- a/libkdepim/kpimprefs.cpp +++ b/libkdepim/kpimprefs.cpp | |||
@@ -43,24 +43,30 @@ KPimPrefs::KPimPrefs( const QString &name ) : | |||
43 | KPimPrefs::~KPimPrefs() | 43 | KPimPrefs::~KPimPrefs() |
44 | { | 44 | { |
45 | } | 45 | } |
46 | 46 | ||
47 | void KPimPrefs::usrSetDefaults() | 47 | void KPimPrefs::usrSetDefaults() |
48 | { | 48 | { |
49 | setCategoryDefaults(); | 49 | setCategoryDefaults(); |
50 | } | 50 | } |
51 | 51 | ||
52 | void KPimPrefs::usrReadConfig() | 52 | void KPimPrefs::usrReadConfig() |
53 | { | 53 | { |
54 | kdDebug(5300) << "KPimPrefs::usrReadConfig()" << endl; | 54 | kdDebug(5300) << "KPimPrefs::usrReadConfig()" << endl; |
55 | 55 | ||
56 | config()->setGroup("General"); | 56 | config()->setGroup("General"); |
57 | mCustomCategories = config()->readListEntry("Custom Categories"); | 57 | mCustomCategories = config()->readListEntry("Custom Categories"); |
58 | if (mCustomCategories.isEmpty()) setCategoryDefaults(); | 58 | if (mCustomCategories.isEmpty()) setCategoryDefaults(); |
59 | } | 59 | } |
60 | 60 | ||
61 | 61 | ||
62 | void KPimPrefs::usrWriteConfig() | 62 | void KPimPrefs::usrWriteConfig() |
63 | { | 63 | { |
64 | config()->setGroup("General"); | 64 | config()->setGroup("General"); |
65 | config()->writeEntry("Custom Categories",mCustomCategories); | 65 | config()->writeEntry("Custom Categories",mCustomCategories); |
66 | } | 66 | } |
67 | |||
68 | void KPimPrefs::setCategoryDefaults() | ||
69 | { | ||
70 | // empty implementation | ||
71 | } | ||
72 | |||