KDECore
KSharedConfig Class Reference
KConfig variant using shared memory. More...
#include <kconfig.h>
Inheritance diagram for KSharedConfig:
Public Types | |
typedef KSharedPtr< KSharedConfig > | Ptr |
Static Public Member Functions | |
static KSharedConfig::Ptr | openConfig (const QString &fileName, bool readOnly=false, bool bUseKDEGlobals=true) |
Detailed Description
KConfig variant using shared memory.KSharedConfig provides a reference counted, shared memory variant of KConfig.
Definition at line 273 of file kconfig.h.
Member Typedef Documentation
typedef KSharedPtr<KSharedConfig> KSharedConfig::Ptr |
Member Function Documentation
KSharedConfig::Ptr KSharedConfig::openConfig | ( | const QString & | fileName, | |
bool | readOnly = false , |
|||
bool | bUseKDEGlobals = true | |||
) | [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: