10#define KSHAREDCONFIG_H
12#include <QExplicitlySharedDataPointer>
34 typedef QExplicitlySharedDataPointer<KSharedConfig> Ptr;
61 static KSharedConfig::Ptr
62 openConfig(
const QString &fileName = QString(),
OpenFlags mode = FullConfig, QStandardPaths::StandardLocation type = QStandardPaths::GenericConfigLocation);
90 KConfigGroup groupImpl(
const QByteArray &aGroup)
override;
91 const KConfigGroup groupImpl(
const QByteArray &aGroup)
const override;
93 KCONFIGCORE_NO_EXPORT
KSharedConfig(
const QString &file,
OpenFlags mode, QStandardPaths::StandardLocation resourceType);
96typedef KSharedConfig::Ptr KSharedConfigPtr;
A class for one specific group in a KConfig object.
Definition kconfiggroup.h:39
The central class of the KDE configuration data system.
Definition kconfig.h:57
QFlags< OpenFlag > OpenFlags
Stores a combination of #OpenFlag values.
Definition kconfig.h:94
KConfig variant using shared memory.
Definition ksharedconfig.h:32
static KSharedConfig::Ptr openStateConfig(const QString &fileName=QString())
Creates a KSharedConfig object to manipulate a configuration file suitable for storing state informat...
static KSharedConfig::Ptr openConfig(const QString &fileName=QString(), OpenFlags mode=FullConfig, QStandardPaths::StandardLocation type=QStandardPaths::GenericConfigLocation)
Creates a KSharedConfig object to manipulate a configuration file.