KCMUtils
kabstractconfigmodule.h
28 Q_PROPERTY(KAbstractConfigModule::Buttons buttons READ buttons WRITE setButtons NOTIFY buttonsChanged)
29 Q_PROPERTY(bool defaultsIndicatorsVisible READ defaultsIndicatorsVisible WRITE setDefaultsIndicatorsVisible NOTIFY defaultsIndicatorsVisibleChanged)
31 Q_PROPERTY(bool representsDefaults READ representsDefaults WRITE setRepresentsDefaults NOTIFY representsDefaultsChanged)
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
KPluginMetaData metaData() const
Returns the metaData that was used when instantiating the plugin.
Definition kabstractconfigmodule.cpp:140
virtual void save()
The save method stores the config information as shown in the user interface in the config files.
Definition kabstractconfigmodule.cpp:87
void setDefaultsIndicatorsVisible(bool visible)
Change defaultness indicator visibility.
Definition kabstractconfigmodule.cpp:131
Q_SIGNAL void representsDefaultsChanged()
Indicate that the state of the modules contents has changed in a way that it might represents the def...
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
Q_SIGNAL void activationRequested(const QVariantList &args)
This signal will be emited by a single-instance application (such as System Settings) to request acti...
Q_SIGNAL void needsSaveChanged()
Indicate that the state of the modules contents has changed.
Q_SIGNAL void authActionNameChanged()
The auth action name has changed.
void setButtons(const Buttons btn)
Sets the buttons to display.
Definition kabstractconfigmodule.cpp:42
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
QObject(QObject *parent)
Q_ENUM(...)
Q_FLAG(...)
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALQ_SIGNAL
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:51:31 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:51:31 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.