KCMUtils
kcmodule.h
Base class for QML and QWidgets config modules.
Definition kabstractconfigmodule.h:25
virtual void defaults()
Sets the configuration to default values.
Definition kabstractconfigmodule.cpp:92
void setNeedsSave(bool needs)
Set this property to true when the user changes something in the module, signaling that a save (such ...
Definition kabstractconfigmodule.cpp:96
virtual void save()
The save method stores the config information as shown in the user interface in the config files.
Definition kabstractconfigmodule.cpp:87
virtual void load()
Load the configuration data into the module.
Definition kabstractconfigmodule.cpp:82
KCModule(QObject *parent, const KPluginMetaData &data)
Utility overload to avoid having to take both parent and parentWidget KCModuleLoader::loadModule enfo...
Definition kcmodule.h:147
KCModule(QObject *parent)
Utility constructor for creating a KCModule that is embedded, for example in a KPluginWidget This con...
Definition kcmodule.h:159
Q_SLOTSQ_SLOTS
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:04:37 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:04:37 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.