summaryrefslogtreecommitdiffabout
path: root/libkdepim/kpimprefs.cpp
Side-by-side diff
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$
#include "kpimprefs.h"
KPimPrefs::KPimPrefs( const QString &name ) :
KPrefs( name )
{
}
KPimPrefs::~KPimPrefs()
{
}
void KPimPrefs::usrSetDefaults()
{
setCategoryDefaults();
}
void KPimPrefs::usrReadConfig()
{
kdDebug(5300) << "KPimPrefs::usrReadConfig()" << endl;
config()->setGroup("General");
mCustomCategories = config()->readListEntry("Custom Categories");
if (mCustomCategories.isEmpty()) setCategoryDefaults();
}
void KPimPrefs::usrWriteConfig()
{
config()->setGroup("General");
config()->writeEntry("Custom Categories",mCustomCategories);
}
+
+void KPimPrefs::setCategoryDefaults()
+{
+ // empty implementation
+}
+