KDECore
KSharedConfig Class Reference
#include <KSharedConfig>
Inheritance diagram for KSharedConfig:

Detailed Description
KConfig variant using shared memory.KSharedConfig provides a reference counted, shared memory variant of KConfig.
Definition at line 36 of file ksharedconfig.h.
Public Types | |
typedef KSharedPtr< KSharedConfig > | Ptr |
Public Member Functions | |
virtual | ~KSharedConfig () |
Static Public Member Functions | |
static KSharedConfig::Ptr | openConfig (const KComponentData &componentData, const QString &fileName=QString(), OpenFlags mode=FullConfig, const char *resourceType="config") |
static KSharedConfig::Ptr | openConfig (const QString &fileName=QString(), OpenFlags mode=FullConfig, const char *resourceType="config") |
Member Typedef Documentation
typedef KSharedPtr<KSharedConfig> KSharedConfig::Ptr |
Definition at line 39 of file ksharedconfig.h.
Constructor & Destructor Documentation
KSharedConfig::~KSharedConfig | ( | ) | [virtual] |
Definition at line 69 of file ksharedconfig.cpp.
Member Function Documentation
KSharedConfigPtr KSharedConfig::openConfig | ( | const KComponentData & | componentData, | |
const QString & | fileName = QString() , |
|||
OpenFlags | mode = FullConfig , |
|||
const char * | resourceType = "config" | |||
) | [static] |
Definition at line 38 of file ksharedconfig.cpp.
KSharedConfigPtr KSharedConfig::openConfig | ( | const QString & | fileName = QString() , |
|
OpenFlags | mode = FullConfig , |
|||
const char * | resourceType = "config" | |||
) | [static] |
Constructs a KSharedConfig object.
- Parameters:
-
fileName A file to parse in addition to the system-wide file(s). If it is not provided, only global KDE configuration data will be read (depending on the value of mode
).mode resourceType the place to look in (config, data, etc)
- See also:
- KStandardDirs.
- Parameters:
-
backend
Definition at line 31 of file ksharedconfig.cpp.
The documentation for this class was generated from the following files: