TDESharedConfig Class Reference
#include <tdeconfig.h>
Inheritance diagram for TDESharedConfig:

Public Types | |
typedef TDESharedPtr < TDESharedConfig > | Ptr |
Static Public Member Functions | |
static TDESharedConfig::Ptr | openConfig (const TQString &fileName, bool readOnly=false, bool bUseKDEGlobals=true) |
Friends | |
class | TQValueList< TDESharedConfig * > |
Additional Inherited Members | |
![]() | |
TDEConfig (const TQString &fileName=TQString::null, bool bReadOnly=false, bool bUseKDEGlobals=true, const char *resType="config") | |
TDEConfig (TDEConfigBackEnd *backEnd, bool bReadOnly=false) | |
virtual | ~TDEConfig () |
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) |
TDEConfig * | copyTo (const TQString &file, TDEConfig *config=0) const |
TDELockFile::Ptr | lockFile (bool bGlobal=false) |
![]() | |
TDEShared () | |
TDEShared (const TDEShared &) | |
TDEShared & | operator= (const TDEShared &) |
void | _TDEShared_ref () const |
void | _TDEShared_unref () const |
int | _TDEShared_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
TDEConfig variant using shared memory.
TDESharedConfig provides a reference counted, shared memory variant of TDEConfig.
Definition at line 273 of file tdeconfig.h.
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 tdeconfig.cpp.
The documentation for this class was generated from the following files: