KConfig
kconfigskeleton.h
102 ItemColor *addItemColor(const QString &name, QColor &reference, const QColor &defaultValue = QColor(128, 128, 128), const QString &key = QString());
KConfigSkeletonGenericItem(const QString &_group, const QString &_key, QColor &reference, QColor defaultValue)
Definition kcoreconfigskeleton.h:333
Class for handling a color preferences item.
Definition kconfigskeleton.h:35
void readConfig(KConfig *config) override
This function is called by KCoreConfigSkeleton to read the value for this setting from a config file.
Definition kconfigskeleton.cpp:28
bool isEqual(const QVariant &p) const override
Definition kconfigskeleton.cpp:43
ItemColor(const QString &_group, const QString &_key, QColor &reference, const QColor &defaultValue=QColor(128, 128, 128))
Constructor.
Definition kconfigskeleton.cpp:23
ItemFont(const QString &_group, const QString &_key, QFont &reference, const QFont &defaultValue=QFont())
Constructor.
Definition kconfigskeleton.cpp:53
bool isEqual(const QVariant &p) const override
Definition kconfigskeleton.cpp:73
void readConfig(KConfig *config) override
This function is called by KCoreConfigSkeleton to read the value for this setting from a config file.
Definition kconfigskeleton.cpp:58
ItemColor * addItemColor(const QString &name, QColor &reference, const QColor &defaultValue=QColor(128, 128, 128), const QString &key=QString())
Register an item of type QColor.
Definition kconfigskeleton.cpp:83
KConfigSkeleton(const QString &configname=QString(), QObject *parent=nullptr)
Constructor.
Definition kconfigskeleton.cpp:13
ItemFont * addItemFont(const QString &name, QFont &reference, const QFont &defaultValue=QFont(), const QString &key=QString())
Register an item of type QFont.
Definition kconfigskeleton.cpp:91
KConfig * config()
Return the KConfig object used for reading and writing the settings.
Definition kcoreconfigskeleton.cpp:1243
KCoreConfigSkeleton(const QString &configname=QString(), QObject *parent=nullptr)
Constructor.
Definition kcoreconfigskeleton.cpp:1211
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
QObject * parent() const const
QVariant property(const char *name) const const
bool setProperty(const char *name, QVariant &&value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:55:16 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:55:16 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.