Moving KPrefs from libkdepim to kdelibs

Cornelius Schumacher schumacher at
Mon Jul 21 13:14:15 BST 2003

A couple of people have asked, if we can move KPrefs from libkdepim to 
kdelibs. It's a class which provides easy access to configuration information 
stored via KConfig in a type-safe way with as few redundant code as possible, 
in particular without specifying config file keys and default values at more 
than one location in the code.

KPrefs doesn't address any GUI issues, it's just an abstracted layer on 
configuration data and should be orthogonal to the different GUI approaches 
for configuration we currently have.

The class is used by KOrganizer, Kontact, KAddressBook, KBugBuster and Kandy 
since a long time and should be pretty stable. See e.g. 
kdepim/korganizer/koprefs.{h,cpp} for an example how to use it.

Any objections to moving kdepim/libkdepim/kprefs.{h,cpp} to kdelibs/kdecore?

Cornelius Schumacher <schumacher at>

More information about the kde-core-devel mailing list