KDE PIM / Developers / API Docs / libkdepim

KConfigWizard Class Reference

Configuration wizard base class. More...

#include <kconfigwizard.h>

Inherits KDialogBase.

List of all members.

Public Member Functions

Protected Slots

Protected Member Functions


Detailed Description

Configuration wizard base class.


Constructor & Destructor Documentation

KConfigWizard::KConfigWizard QWidget *  parent = 0,
char *  name = 0,
bool  modal = false
 

Create wizard.

You have to set a propgator with setPropagator() later.

KConfigWizard::KConfigWizard KConfigPropagator *  propagator,
QWidget *  parent = 0,
char *  name = 0,
bool  modal = false
 

Create wizard for given KConfigPropagator.

The wizard takes ownership of the propagator.

KConfigWizard::~KConfigWizard  )  [virtual]
 

Destructor.


Member Function Documentation

void KConfigWizard::setPropagator KConfigPropagator *   ) 
 

Set propagator the wizard operates on.

KConfigPropagator* KConfigWizard::propagator  )  [inline]
 

Return propagator the wizard operates on.

QFrame * KConfigWizard::createWizardPage const QString &  title  ) 
 

Create wizard page with given title.

virtual void KConfigWizard::usrReadConfig  )  [pure virtual]
 

Use this function to read the configuration from the KConfigSkeleton object to the GUI.

virtual void 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 KConfigWizard::validate  )  [inline, virtual]
 

Validates the supplied data.

Returns a appropiate error when some data is invalid. Return QString::null if all data is valid.


The documentation for this class was generated from the following files: