KCMUtils
kcmodule.cpp
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
Q_SIGNAL void defaultsIndicatorsVisibleChanged()
Emitted when kcm need to display indicators for field with non default value.
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:135
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:115
KConfigDialogManager * addConfig(KCoreConfigSkeleton *config, QWidget *widget)
Adds a KCoreConfigskeleton config to watch the widget widget.
Definition kcmodule.cpp:71
bool managedWidgetDefaultState() const
Returns the defaulted state of automatically managed widgets in this dialog.
Definition kcmodule.cpp:146
void unmanagedWidgetChangeState(bool)
Call this method when your manually managed widgets change state between changed and not changed.
Definition kcmodule.cpp:157
void widgetChanged()
A managed widget was changed, the widget settings and the current settings are compared and a corresp...
Definition kcmodule.cpp:125
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:163
void save() override
The save method stores the config information as shown in the user interface in the config files.
Definition kcmodule.cpp:99
void widgetModified()
void setDefaultsIndicatorsVisible(bool enabled)
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)
QWidget(QWidget *parent, Qt::WindowFlags f)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 28 2025 11:54:07 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 28 2025 11:54:07 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.