libkdepim
KPIM::KConfigWizard Class Reference
#include <kconfigwizard.h>

Detailed Description
Configuration wizard base class.Definition at line 37 of file kconfigwizard.h.
Public Member Functions | |
| QWidget * | createWizardPage (const QString &title) |
| KConfigWizard (KConfigPropagator *propagator, QWidget *parent=0, bool modal=false) | |
| KConfigWizard (QWidget *parent=0, bool modal=false) | |
| KConfigPropagator * | propagator () |
| void | setPropagator (KConfigPropagator *) |
| virtual void | usrReadConfig ()=0 |
| virtual void | usrWriteConfig ()=0 |
| virtual QString | validate () |
| virtual | ~KConfigWizard () |
Protected Slots | |
| void | readConfig () |
| void | slotAboutToShowPage (KPageWidgetItem *, KPageWidgetItem *) |
| void | slotOk () |
Protected Member Functions | |
| void | init () |
| void | setupChangesPage () |
| void | setupRulesPage () |
| void | updateChanges () |
| void | updateRules () |
Constructor & Destructor Documentation
| KConfigWizard::KConfigWizard | ( | QWidget * | parent = 0, |
|
| bool | modal = false | |||
| ) | [explicit] |
Create wizard.
You have to set a propgator with setPropagator() later.
Definition at line 41 of file kconfigwizard.cpp.
| KConfigWizard::KConfigWizard | ( | KConfigPropagator * | propagator, | |
| QWidget * | parent = 0, |
|||
| bool | modal = false | |||
| ) | [explicit] |
Create wizard for given KConfigPropagator.
The wizard takes ownership of the propagator.
Definition at line 48 of file kconfigwizard.cpp.
| KConfigWizard::~KConfigWizard | ( | ) | [virtual] |
Member Function Documentation
| void KConfigWizard::init | ( | ) | [protected] |
Definition at line 61 of file kconfigwizard.cpp.
| KConfigPropagator* KPIM::KConfigWizard::propagator | ( | ) | [inline] |
| void KConfigWizard::readConfig | ( | ) | [protected, slot] |
Definition at line 184 of file kconfigwizard.cpp.
| void KConfigWizard::setPropagator | ( | KConfigPropagator * | p | ) |
| void KConfigWizard::setupChangesPage | ( | ) | [protected] |
Definition at line 143 of file kconfigwizard.cpp.
| void KConfigWizard::setupRulesPage | ( | ) | [protected] |
Definition at line 98 of file kconfigwizard.cpp.
| void KConfigWizard::slotAboutToShowPage | ( | KPageWidgetItem * | page, | |
| KPageWidgetItem * | ||||
| ) | [protected, slot] |
Definition at line 84 of file kconfigwizard.cpp.
| void KConfigWizard::slotOk | ( | ) | [protected, slot] |
Definition at line 205 of file kconfigwizard.cpp.
| void KConfigWizard::updateChanges | ( | ) | [protected] |
Definition at line 162 of file kconfigwizard.cpp.
| void KConfigWizard::updateRules | ( | ) | [protected] |
Definition at line 117 of file kconfigwizard.cpp.
| virtual void KPIM::KConfigWizard::usrReadConfig | ( | ) | [pure virtual] |
Use this function to read the configuration from the KConfigSkeleton object to the GUI.
| virtual void KPIM::KConfigWizard::usrWriteConfig | ( | ) | [pure virtual] |
This function is called when the wizard is finished.
You have to save all settings from the GUI to the KConfigSkeleton object here, so that the KConfigPropagator can take them up from there.
| virtual QString KPIM::KConfigWizard::validate | ( | ) | [inline, virtual] |
Validates the supplied data.
Returns an appropriate error when some data is invalid. Return QString() if all data is valid.
Definition at line 90 of file kconfigwizard.h.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference