KSharedConfig Class Reference
#include <kconfig.h>
Inheritance diagram for KSharedConfig:

Public Types | |
typedef KSharedPtr< KSharedConfig > | Ptr |
Static Public Member Functions | |
static KSharedConfig::Ptr | openConfig (const TQString &fileName, bool readOnly=false, bool bUseKDEGlobals=true) |
Friends | |
class | TQValueList< KSharedConfig * > |
Additional Inherited Members | |
![]() | |
KConfig (const TQString &fileName=TQString::null, bool bReadOnly=false, bool bUseKDEGlobals=true, const char *resType="config") | |
KConfig (KConfigBackEnd *backEnd, bool bReadOnly=false) | |
virtual | ~KConfig () |
virtual void | rollback (bool bDeep=true) |
virtual TQStringList | groupList () const |
virtual TQMap< TQString, TQString > | entryMap (const TQString &pGroup) const |
virtual void | reparseConfiguration () |
void | setFileWriteMode (int mode) |
void | setForceGlobal (bool force) |
bool | forceGlobal () const |
void | checkUpdate (const TQString &id, const TQString &updateFile) |
KConfig * | copyTo (const TQString &file, KConfig *config=0) const |
KLockFile::Ptr | lockFile (bool bGlobal=false) |
![]() | |
KShared () | |
KShared (const KShared &) | |
KShared & | operator= (const KShared &) |
void | _KShared_ref () const |
void | _KShared_unref () const |
int | _KShared_count () const |
![]() | |
virtual bool | internalHasGroup (const TQCString &group) const |
virtual KEntryMap | internalEntryMap (const TQString &pGroup) const |
virtual KEntryMap | internalEntryMap () const |
virtual void | putData (const KEntryKey &_key, const KEntry &_data, bool _checkGroup=true) |
virtual KEntry | lookupData (const KEntryKey &_key) const |
virtual void | virtual_hook (int id, void *data) |
![]() | |
KEntryMap | aEntryMap |
Detailed Description
KConfig variant using shared memory.
KSharedConfig provides a reference counted, shared memory variant of KConfig.
Member Function Documentation
|
static |
Returns a ref-counted pointer to a shared read-write config object.
- Parameters
-
fileName the name of the file to use for the configuration readOnly set the config object's read-only status bUseKDEGlobals Toggle reading the global KDE configuration file.
Definition at line 334 of file kconfig.cpp.
The documentation for this class was generated from the following files: