summaryrefslogtreecommitdiffabout
path: root/libkdepim/kpimprefs.cpp
Unidiff
Diffstat (limited to 'libkdepim/kpimprefs.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/kpimprefs.cpp6
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
@@ -35,32 +35,38 @@ $Id$
35 35
36#include "kpimprefs.h" 36#include "kpimprefs.h"
37 37
38KPimPrefs::KPimPrefs( const QString &name ) : 38KPimPrefs::KPimPrefs( const QString &name ) :
39 KPrefs( name ) 39 KPrefs( name )
40{ 40{
41} 41}
42 42
43KPimPrefs::~KPimPrefs() 43KPimPrefs::~KPimPrefs()
44{ 44{
45} 45}
46 46
47void KPimPrefs::usrSetDefaults() 47void KPimPrefs::usrSetDefaults()
48{ 48{
49 setCategoryDefaults(); 49 setCategoryDefaults();
50} 50}
51 51
52void KPimPrefs::usrReadConfig() 52void 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
62void KPimPrefs::usrWriteConfig() 62void 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
68void KPimPrefs::setCategoryDefaults()
69{
70 // empty implementation
71}
72