KCMUtils
kcmodule.cpp
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
void setRepresentsDefaults(bool defaults)
Set this property to true when the user sets the state of the module to the default settings (e....
Definition kabstractconfigmodule.cpp:111
bool managedWidgetChangeState() const
Returns the changed state of automatically managed widgets in this dialog.
Definition kcmodule.cpp:129
virtual QWidget * widget()
Get the associated widget that can be embedded The returned widget should be used as a parent for wid...
Definition kcmodule.cpp:109
KConfigDialogManager * addConfig(KCoreConfigSkeleton *config, QWidget *widget)
Adds a KCoreConfigskeleton config to watch the widget widget.
Definition kcmodule.cpp:66
bool managedWidgetDefaultState() const
Returns the defaulted state of automatically managed widgets in this dialog.
Definition kcmodule.cpp:140
void unmanagedWidgetChangeState(bool)
Call this method when your manually managed widgets change state between changed and not changed.
Definition kcmodule.cpp:151
void widgetChanged()
A managed widget was changed, the widget settings and the current settings are compared and a corresp...
Definition kcmodule.cpp:119
KCModule(QWidget *parent, const KPluginMetaData &data)
Base class for all QWidgets configuration modules.
Definition kcmodule.cpp:60
void unmanagedWidgetDefaultState(bool)
Call this method when your manually managed widgets change state between defaulted and not defaulted.
Definition kcmodule.cpp:157
void save() override
The save method stores the config information as shown in the user interface in the config files.
Definition kcmodule.cpp:93
void widgetModified()
Q_SCRIPTABLE CaptureState status()
Q_OBJECTQ_OBJECT
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
void destroyed(QObject *obj)
objectName
QObject * parent() const const
void setObjectName(QAnyStringView name)
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.