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) | |
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 42 of file kcmultidialog.cpp. References KDialogBase::showButton(). |
|
Construct a personalized KCMultiDialog.
Definition at line 52 of file kcmultidialog.cpp. References KDialogBase::showButton(). |
|
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 62 of file kcmultidialog.cpp. References KDialogBase::showButton(). |
|
Destructor.
Definition at line 83 of file kcmultidialog.cpp. |
Member Function Documentation
|
Add a module.
Definition at line 198 of file kcmultidialog.cpp. References kdDebug(), kdError(), and KService::serviceByStorageId(). |
|
Add a module.
Definition at line 212 of file kcmultidialog.cpp. References KDialogBase::aboutToShowPage(), KDialogBase::activePageIndex(), KDialogBase::addHBoxPage(), KCModuleInfo::comment(), KCModuleInfo::icon(), k_funcinfo, kdDebug(), kdError(), KCModuleInfo::moduleName(), KDialogBase::pageIndex(), KDialogBase::plainPage(), KCModuleInfo::service(), KDialogBase::showPage(), and KCModuleLoader::unloadModule(). |
|
Remove all modules from the dialog.
Definition at line 285 of file kcmultidialog.cpp. References k_funcinfo, and kdDebug(). |
|
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 90 of file kcmultidialog.cpp. References KDialogBase::activePageIndex(), 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 104 of file kcmultidialog.cpp. References KDialogBase::activePageIndex(), 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 145 of file kcmultidialog.cpp. References KDialogBase::apply(), 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 152 of file kcmultidialog.cpp. References KDialogBase::apply(), 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 it if needed.
Reimplemented from KDialogBase. Definition at line 159 of file kcmultidialog.cpp. References KDialogBase::activePageIndex(), KProcess::detach(), KDialogBase::pageIndex(), KURL::protocol(), KProcess::start(), and KURL::url(). |
The documentation for this class was generated from the following files: