libtdepim

KResourcePrefs Class Reference

#include <kresourceprefs.h>

Inherits TDEConfigSkeleton.

Public Member Functions

 KResourcePrefs (const TQString &name=TQString())
 
void addGroupPrefix (const TQString &prefix)
 

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.

Member Function Documentation

◆ addGroupPrefix()

void KResourcePrefs::addGroupPrefix ( const TQString &  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: