12#include <kconfiggroup.h>
13#include <kconfigskeleton.h>
14#include <ksharedconfig.h>
16#include <kconfiggui_export.h>
18class ConfigLoaderPrivate;
99 KConfigLoader(
const QString &configFile, QIODevice *xml, QObject *parent =
nullptr);
109 KConfigLoader(KSharedConfigPtr config, QIODevice *xml, QObject *parent =
nullptr);
156#if KCONFIGCORE_BUILD_DEPRECATED_SINCE(5, 0)
160 bool usrWriteConfig()
override;
166 ConfigLoaderPrivate *
const d;
A class for one specific group in a KConfig object.
Definition kconfiggroup.h:39
A KConfigSkeleton that populates itself based on KConfigXT XML.
Definition kconfigloader.h:89
KConfigSkeletonItem * findItemByName(const QString &name) const
Finds an item by its name.
KConfigLoader(KSharedConfigPtr config, QIODevice *xml, QObject *parent=nullptr)
Creates a KConfigSkeleton populated using the definition found in the XML data passed in.
KConfigLoader(const KConfigGroup &config, QIODevice *xml, QObject *parent=nullptr)
Creates a KConfigSkeleton populated using the definition found in the XML data passed in.
KConfigSkeletonItem * findItem(const QString &group, const QString &key) const
Finds the item for the given group and key.
bool usrSave() override
Perform the actual writing of the configuration file.
QStringList groupList() const
bool hasGroup(const QString &group) const
Check to see if a group exists.
QVariant property(const QString &name) const
Returns the property (variantized value) of the named item.
KConfigLoader(const QString &configFile, QIODevice *xml, QObject *parent=nullptr)
Creates a KConfigSkeleton populated using the definition found in the XML data passed in.
Class for storing a preferences setting.
Definition kcoreconfigskeleton.h:42
Class for handling preferences settings for an application.
Definition kconfigskeleton.h:28