KConfigGroup Class Reference
A KConfigBase derived class for one specific group in a KConfig object. More...
#include <kconfigbase.h>
Inheritance diagram for KConfigGroup:


Public Member Functions | |
KConfigGroup (KConfigBase *master, const QCString &group) | |
KConfigGroup (KConfigBase *master, const QString &group) | |
KConfigGroup (KConfigBase *master, const char *group) | |
void | deleteGroup (bool bGlobal=false) |
bool | groupIsImmutable () const |
virtual void | setDirty (bool b) |
virtual void | putData (const KEntryKey &_key, const KEntry &_data, bool _checkGroup=true) |
virtual KEntry | lookupData (const KEntryKey &_key) const |
virtual void | sync () |
Protected Member Functions | |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
A KConfigBase derived class for one specific group in a KConfig object.
Definition at line 2095 of file kconfigbase.h.
Constructor & Destructor Documentation
|
Construct a config group corresponding to
Definition at line 1777 of file kconfigbase.cpp. References KConfigBase::aLocaleString, KConfigBase::backEnd, KConfigBase::bDirty, KConfigBase::bExpand, KConfigBase::bLocaleInitialized, KConfigBase::bReadOnly, KConfigBase::mGroup, KConfigBase::readDefaults(), and KConfigBase::setReadDefaults(). |
|
This is an overloaded constructor provided for convenience. It behaves essentially like the above function.
Construct a config group corresponding to Definition at line 1764 of file kconfigbase.cpp. References KConfigBase::aLocaleString, KConfigBase::backEnd, KConfigBase::bDirty, KConfigBase::bExpand, KConfigBase::bLocaleInitialized, KConfigBase::bReadOnly, KConfigBase::mGroup, KConfigBase::readDefaults(), KConfigBase::setReadDefaults(), and QString::utf8(). |
|
This is an overloaded constructor provided for convenience. It behaves essentially like the above function.
Construct a config group corresponding to Definition at line 1790 of file kconfigbase.cpp. References KConfigBase::aLocaleString, KConfigBase::backEnd, KConfigBase::bDirty, KConfigBase::bExpand, KConfigBase::bLocaleInitialized, KConfigBase::bReadOnly, KConfigBase::mGroup, KConfigBase::readDefaults(), and KConfigBase::setReadDefaults(). |
Member Function Documentation
|
Delete all entries in the entire group.
Definition at line 1803 of file kconfigbase.cpp. References KConfigBase::deleteGroup(), and KConfigBase::group(). |
|
Checks whether it is possible to change this group.
Definition at line 1808 of file kconfigbase.cpp. References KConfigBase::group(), and KConfigBase::groupIsImmutable(). |
|
Sets the global dirty flag of the config object.
Reimplemented from KConfigBase. Definition at line 1813 of file kconfigbase.cpp. References KConfigBase::setDirty(). |
|
Inserts a (key/value) pair into the internal storage mechanism of the configuration object. Classes that derive from KConfigBase will need to implement this method in a storage-specific manner. Do not use this function, the implementation / return type are subject to change.
Implements KConfigBase. Definition at line 1818 of file kconfigbase.cpp. References KConfigBase::putData(). |
|
Looks up an entry in the config object's internal structure. Classes that derive from KConfigBase will need to implement this method in a storage-specific manner. Do not use this function, the implementation and return type are subject to change.
Implements KConfigBase. Definition at line 1823 of file kconfigbase.cpp. References KConfigBase::lookupData(). |
|
Flushes all changes that currently reside only in memory back to disk / permanent storage. Dirty configuration entries are written to the most specific file available.
Asks the back end to flush out all pending writes, and then calls rollback(). No changes are made if the object has You should call this from your destructor in derivative classes.
Reimplemented from KConfigBase. Definition at line 1828 of file kconfigbase.cpp. References KConfigBase::sync(). |
The documentation for this class was generated from the following files: