KDEUI
kcmodule.cpp
Go to the documentation of this file.
150 d->_authAction = new KAuth::Action(QString("org.kde.kcontrol." + d->_about->appName() + ".save"));
KAction * help(const QObject *recvr, const char *slot, QObject *parent)
Display the help.
Definition: kstandardaction.cpp:596
QString i18n(const char *text)
void updateWidgetsDefault()
Traverse the specified widgets, sets the state of all known widgets according to the default state in...
Definition: kconfigdialogmanager.cpp:371
bool useRootOnlyMessage() const
Tell if KControl should show a RootOnly message when run as a normal user.
Definition: kcmodule.cpp:277
void updateWidgets()
Traverse the specified widgets, sets the state of all known widgets according to the state in the set...
Definition: kconfigdialogmanager.cpp:332
void unmanagedWidgetChangeState(bool)
Call this method when your manually managed widgets change state between changed and not changed...
Definition: kcmodule.cpp:241
bool hasChanged() const
Returns whether the current state of the known widgets are different from the state in the config obj...
Definition: kconfigdialogmanager.cpp:517
QString rootOnlyMessage() const
Get the RootOnly message for this module.
Definition: kcmodule.cpp:266
const char * name(StandardAction id)
This will return the internal name of a given standard action.
Definition: kstandardaction.cpp:223
Provides a means of automatically retrieving, saving and resetting KConfigSkeleton based settings in ...
Definition: kconfigdialogmanager.h:85
void authStatusChanged(int)
The status of the auth action, if one, has changed.
Definition: kcmodule.cpp:172
Class for handling preferences settings for an application.
Definition: kconfigskeleton.h:40
KCModule(const KComponentData &componentData, QWidget *parent=0, const QVariantList &args=QVariantList())
Base class for all KControlModules.
Definition: kcmodule.cpp:77
void setExportText(const QString &)
Sets the export QString value, used for exporting data.
Definition: kcmodule.cpp:297
void widgetChanged()
A managed widget was changed, the widget settings and the current settings are compared and a corresp...
Definition: kcmodule.cpp:224
Definition: kcmodule.h:120
bool needsAuthorization() const
Returns the value previously set with setNeedsAuthorization().
Definition: kcmodule.cpp:162
Definition: kcmodule.h:120
KConfigDialogManager * addConfig(KCoreConfigSkeleton *config, QWidget *widget)
Adds a KCoreConfigskeleton config to watch the widget widget.
Definition: kcmodule.cpp:128
QString componentName() const
void rootOnlyMessageChanged(bool use, QString message)
Indicate that the module's root message has changed.
bool managedWidgetChangeState() const
Returns the changed state of automatically managed widgets in this dialog.
Definition: kcmodule.cpp:229
AuthStatus
void setUseRootOnlyMessage(bool on)
Change whether or not the RootOnly message should be shown.
Definition: kcmodule.cpp:271
void insertCatalog(const QString &catalog)
void setNeedsAuthorization(bool needsAuth)
Set if the module's save() method requires authorization to be executed.
Definition: kcmodule.cpp:146
virtual const KAboutData * aboutData() const
This is generally only called for the KBugReport.
Definition: kcmodule.cpp:247
KLocale * locale()
void setRootOnlyMessage(const QString &message)
Sets the RootOnly message.
Definition: kcmodule.cpp:260
virtual void defaults()
Sets the configuration to sensible default values.
Definition: kcmodule.cpp:217
bool isValid() const
void setAboutData(const KAboutData *about)
This sets the KAboutData returned by aboutData()
Definition: kcmodule.cpp:252
void updateSettings()
Traverse the specified widgets, saving the settings of all known widgets in the settings object...
Definition: kconfigdialogmanager.cpp:378
KAuth::Action * authAction() const
Returns the action previously set with setAuthAction().
Definition: kcmodule.cpp:167
void changed()
Calling this slot is equivalent to emitting changed(true).
Definition: kcmodule.cpp:282
Definition: kcmodule.h:120
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:14 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:14 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.