KDEUI
kconfigdialog.cpp
Go to the documentation of this file.
180 void KConfigDialog::KConfigDialogPrivate::setupManagerConnections(KConfigDialogManager *manager)
211 QHash<QString,KConfigDialog *>::const_iterator it = KConfigDialogPrivate::openDialogs.constFind( name );
virtual void updateWidgets()
Update the dialog based on the settings.
Definition: kconfigdialog.cpp:303
static bool showDialog(const QString &name)
Attempts to show the dialog with the name 'name'.
Definition: kconfigdialog.cpp:217
QString i18n(const char *text)
bool isButtonEnabled(ButtonCode id) const
Returns whether any button is enabled.
Definition: kdialog.cpp:668
static KConfigDialog * exists(const QString &name)
See if a dialog with the name 'name' already exists.
Definition: kconfigdialog.cpp:209
Show Cancel-button. (this button reject()s the dialog; result set to QDialog::Rejected) ...
Definition: kdialog.h:144
void setHelp(const QString &anchor, const QString &appname=QString())
Sets the help path and topic.
Definition: kdialog.cpp:967
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
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
virtual bool hasChanged()
Returns whether the current state of the dialog is different from the current configuration.
Definition: kconfigdialog.cpp:311
void pageRemoved(KPageWidgetItem *page)
This signal is emitted whenever a page has been removed.
Class for handling preferences settings for an application.
Definition: kconfigskeleton.h:40
KPageWidgetItem * addPage(QWidget *page, const QString &itemName, const QString &pixmapName=QString(), const QString &header=QString(), bool manage=true)
Adds page to the dialog and to KConfigDialogManager.
Definition: kconfigdialog.cpp:114
virtual void setCaption(const QString &caption)
Make a KDE compliant caption.
Definition: kdialog.cpp:469
virtual void updateWidgetsDefault()
Update the dialog based on the default settings.
Definition: kconfigdialog.cpp:307
void setIcon(const KIcon &icon)
Sets the icon of the page widget item.
Definition: kpagewidgetmodel.cpp:130
bool isDefault() const
Returns whether the current state of the known widgets are the same as the default state in the confi...
Definition: kconfigdialogmanager.cpp:539
virtual bool isDefault()
Returns whether the current state of the dialog is the same as the default configuration.
Definition: kconfigdialog.cpp:316
void setButtons(ButtonCodes buttonMask)
Creates (or recreates) the button box and all the buttons in it.
Definition: kdialog.cpp:206
Show Help button. (this button will run the help set with setHelp)
Definition: kdialog.h:139
void settingsChanged(const QString &dialogName)
One or more of the settings have been permanently changed such as if the user clicked on the Apply or...
Show Ok button. (this button accept()s the dialog; result set to QDialog::Accepted) ...
Definition: kdialog.h:141
QWidget * widget() const
Returns the widget of the page widget item.
Definition: kpagewidgetmodel.cpp:101
void setDefaultButton(ButtonCode id)
Sets the button that will be activated when the Enter key is pressed.
Definition: kdialog.cpp:287
KConfigDialog(QWidget *parent, const QString &name, KConfigSkeleton *config)
Definition: kconfigdialog.cpp:94
KPageWidgetItem is used by KPageWidget and represents a page.
Definition: kpagewidgetmodel.h:50
void enableButton(ButtonCode id, bool state)
Enable or disable (gray out) a general action button.
Definition: kdialog.cpp:661
void setSpacing(int space)
Sets the spacing between the child widgets to space.
Definition: khbox.cpp:98
const KComponentData & mainComponent()
~KConfigDialog()
Deconstructor, removes name from the list of open dialogs.
Definition: kconfigdialog.cpp:108
void setHeader(const QString &header)
Sets the header of the page widget item.
Definition: kpagewidgetmodel.cpp:118
Definition: kpagedialog.h:91
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.