KDE PIM / Developers / API Docs / libkdepim

KResourcePrefs Class Reference

This is a base class for all KPrefs objects, where multiple instances want to work on the same config file. More...

#include <kresourceprefs.h>

Inherits KConfigSkeleton.

List of all members.

Public Member Functions


Detailed Description

This is a base class for all KPrefs objects, where multiple instances want to work on the same config file.

By calling addGroupPrefix( "foobar" ), 'foobar' as a prefix is added to the group names in the configuration file. The prefix should be an unique identifier to avoid name clashes and the method has to be called before readConfig(), otherwise the wrong entries are read.


Member Function Documentation

void KResourcePrefs::addGroupPrefix const QString &  prefix  ) 
 

Adds a prefix to all groups of this prefs object.


The documentation for this class was generated from the following files: