libkdepim

KResourcePrefs Class Reference

#include <kresourceprefs.h>

List of all members.


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.

Definition at line 38 of file kresourceprefs.h.


Public Member Functions

 KResourcePrefs (const QString &name=QString::null)
void addGroupPrefix (const QString &prefix)

Member Function Documentation

void KResourcePrefs::addGroupPrefix ( const QString &  prefix  ) 

Adds a prefix to all groups of this prefs object.

Definition at line 31 of file kresourceprefs.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys