KCMultiDialog Class Reference
A method that offers a KDialogBase containing arbitrary KControl Modules. More...
#include <kcmultidialog.h>
Inheritance diagram for KCMultiDialog:


Signals | |
void | configCommitted () |
void | configCommitted (const QCString &instanceName) |
Public Member Functions | |
KCMultiDialog (QWidget *parent=0, const char *name=0, bool modal=false) | |
KCMultiDialog (int dialogFace, const QString &caption, QWidget *parent=0, const char *name=0, bool modal=false) | |
KCMultiDialog (int dialogFace, const KGuiItem &user2, const KGuiItem &user3=KGuiItem(), int buttonMask=User2, const QString &caption=i18n("Configure"), QWidget *parent=0, const char *name=0, bool modal=false) KDE_DEPRECATED | |
virtual | ~KCMultiDialog () |
void | addModule (const QString &module, bool withfallback=true) |
void | addModule (const KCModuleInfo &moduleinfo, QStringList parentmodulenames=QStringList(), bool withfallback=false) |
void | removeAllModules () |
void | show () |
Protected Slots | |
virtual void | slotDefault () |
virtual void | slotUser1 () |
virtual void | slotApply () |
virtual void | slotOk () |
virtual void | slotHelp () |
Detailed Description
A method that offers a KDialogBase containing arbitrary KControl Modules.
- Author:
- Matthias Elter <elter@kde.org>, Daniel Molkentin <molkentin@kde.org>
- Since:
- 3.2
Definition at line 42 of file kcmultidialog.h.
Constructor & Destructor Documentation
|
Constructs a new KCMultiDialog.
Definition at line 58 of file kcmultidialog.cpp. |
|
Construct a personalized KCMultiDialog.
Definition at line 67 of file kcmultidialog.cpp. |
|
Constructor for the predefined layout mode where you specify the kind of layout (face) and also add buttons. Note that the User1 button of KDialogBase is already used to provide a "Reset" button so only two more buttons are available to users of KCMultiDialog. When clicked they trigger slotUser2() and slotUser3().
Definition at line 76 of file kcmultidialog.cpp. References endl(), kdDebug(), and KDialogBase::showButton(). |
|
Destructor.
Definition at line 102 of file kcmultidialog.cpp. References QMap::begin(), QMap::end(), and QMap::Iterator(). |
Member Function Documentation
|
Add a module.
Definition at line 221 of file kcmultidialog.cpp. References QString::endsWith(), and KService::serviceByStorageId(). |
|
|
Remove all modules from the dialog.
Definition at line 322 of file kcmultidialog.cpp. References QValueList::begin(), QValueList::clear(), QValueList::end(), QWidget::hide(), QValueList::Iterator(), kdDebug(), and QWidget::reparent(). |
|
Emitted after all KCModules have been told to save their configuration. The applyClicked and okClicked signals are emitted before the configuration is saved. |
|
Emitted after the KCModules have been told to save their configuration. It is emitted once for every instance the KCMs that were changed belong to. You can make use of this if you have more than one component in your application. instanceName tells you the instance that has to reload its configuration. The applyClicked and okClicked signals are emitted before the configuration is saved.
|
|
This slot is called when the user presses the "Default" Button. You can reimplement it if needed.
Reimplemented from KDialogBase. Definition at line 109 of file kcmultidialog.cpp. References KDialogBase::activePageIndex(), QValueList::begin(), QValueList::end(), QValueList::Iterator(), and KDialogBase::pageIndex(). |
|
This slot is called when the user presses the "Reset" Button. You can reimplement it if needed.
Reimplemented from KDialogBase. Definition at line 123 of file kcmultidialog.cpp. References KDialogBase::activePageIndex(), QValueList::begin(), QValueList::end(), QValueList::Iterator(), and KDialogBase::pageIndex(). |
|
This slot is called when the user presses the "Apply" Button. You can reimplement it if needed.
Reimplemented from KDialogBase. Definition at line 162 of file kcmultidialog.cpp. References KDialogBase::actionButton(), and KDialogBase::applyClicked(). |
|
This slot is called when the user presses the "OK" Button. You can reimplement it if needed.
Reimplemented from KDialogBase. Definition at line 172 of file kcmultidialog.cpp. References QDialog::accept(), KDialogBase::actionButton(), and KDialogBase::okClicked(). |
|
This slot is called when the user presses the "Help" Button. It reads the DocPath field of the currently selected KControl module's .desktop file to find the path to the documentation, which it then attempts to load. You can reimplement this slot if needed.
Reimplemented from KDialogBase. Definition at line 182 of file kcmultidialog.cpp. References KDialogBase::activePageIndex(), QValueList::begin(), KProcess::detach(), KProcess::DontCare, QValueList::end(), QValueList::Iterator(), KDialogBase::pageIndex(), KURL::protocol(), KProcess::start(), and KURL::url(). |
The documentation for this class was generated from the following files: