KCMUtils
kabstractconfigmodule.cpp
26 KAbstractConfigModule::Buttons m_buttons = KAbstractConfigModule::Help | KAbstractConfigModule::Default | KAbstractConfigModule::Apply;
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.
QString authActionName() const
Returns the action previously set with setAuthActionName().
Definition kabstractconfigmodule.cpp:77
void setAuthActionName(const QString &action)
Set if the module's save() method requires authorization to be executed.
Definition kabstractconfigmodule.cpp:67
virtual void load()
Load the configuration data into the module.
Definition kabstractconfigmodule.cpp:82
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
Q_EMITQ_EMIT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:20 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:20 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.