libkdepim Library API Documentation

KConfigWizard Class Reference

Configuration wizard base class. More...

#include <kconfigwizard.h>

Collaboration diagram for KConfigWizard:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 KConfigWizard (QWidget *parent=0, char *name=0, bool modal=false)
 KConfigWizard (KConfigPropagator *propagator, QWidget *parent=0, char *name=0, bool modal=false)
virtual ~KConfigWizard ()
void setPropagator (KConfigPropagator *)
KConfigPropagator * propagator ()
QFramecreateWizardPage (const QString &title)
virtual void usrReadConfig ()=0
virtual void usrWriteConfig ()=0

Protected Slots

void readConfig ()
void slotOk ()
void slotAboutToShowPage (QWidget *page)

Protected Member Functions

void init ()
void setupRulesPage ()
void updateRules ()
void setupChangesPage ()
void updateChanges ()

Detailed Description

Configuration wizard base class.

Definition at line 33 of file kconfigwizard.h.


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.

Definition at line 34 of file kconfigwizard.cpp.

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.

Definition at line 43 of file kconfigwizard.cpp.

KConfigWizard::~KConfigWizard  )  [virtual]
 

Destructor.

Definition at line 52 of file kconfigwizard.cpp.


Member Function Documentation

void KConfigWizard::setPropagator KConfigPropagator *   ) 
 

Set propagator the wizard operates on.

Definition at line 65 of file kconfigwizard.cpp.

KConfigPropagator* KConfigWizard::propagator  )  [inline]
 

Return propagator the wizard operates on.

Definition at line 59 of file kconfigwizard.h.

QFrame * KConfigWizard::createWizardPage const QString title  ) 
 

Create wizard page with given title.

Definition at line 77 of file kconfigwizard.cpp.

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.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for libkdepim Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Jan 31 15:53:23 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003