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 KStdAccel::name(), KDialogBase::showButton(), and KStdAccel::undo(). |
|
Construct a personalized KCMultiDialog.
Definition at line 52 of file kcmultidialog.cpp. References KStdAccel::name(), KDialogBase::showButton(), and KStdAccel::undo(). |
|
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 KStdAccel::name(), KDialogBase::showButton(), and KStdAccel::undo(). |
|
Destructor.
Definition at line 83 of file kcmultidialog.cpp. References QMap::begin(), and QMap::end(). |
Member Function Documentation
|
Add a module.
Definition at line 187 of file kcmultidialog.cpp. References endl(), kdDebug(), kdError(), KService::Ptr, and KService::serviceByStorageId(). |
|
Add a module.
Definition at line 201 of file kcmultidialog.cpp. References KDialogBase::aboutToShowPage(), KDialogBase::activePageIndex(), KDialogBase::addHBoxPage(), QValueList::append(), KCModuleInfo::comment(), QMap::contains(), QValueList::count(), KCModuleInfo::docPath(), endl(), KCModuleInfo::icon(), QPtrDict< QStringList >::insert(), k_funcinfo, kdDebug(), kdError(), KCModuleInfo::moduleName(), KDialogBase::pageIndex(), KDialogBase::plainPage(), KCModuleInfo::service(), KDialogBase::showPage(), and KIcon::SizeMedium. |
|
Remove all modules from the dialog.
Definition at line 278 of file kcmultidialog.cpp. References QValueList::begin(), QValueList::clear(), QValueList::end(), KStdAccel::end(), endl(), 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(), QValueList::begin(), QValueList::end(), KStdAccel::end(), 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(), QValueList::begin(), QValueList::end(), KStdAccel::end(), 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 QDialog::accept(), KDialogBase::apply(), and KDialogBase::okClicked(). |
|
This slot is called when the user presses the "Help" Button You can reimplement it if needed.
Reimplemented from KDialogBase. Definition at line 159 of file kcmultidialog.cpp. References KProcess::detach(), KProcess::DontCare, KURL::protocol(), KProcess::start(), and KURL::url(). |
The documentation for this class was generated from the following files: