• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

libkdepim

KPIM::KConfigWizard

KPIM::KConfigWizard Class Reference

#include <kconfigwizard.h>

Inheritance diagram for KPIM::KConfigWizard:

Inheritance graph
[legend]

List of all members.


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]

Destructor.

Definition at line 56 of file kconfigwizard.cpp.


Member Function Documentation

QWidget * KConfigWizard::createWizardPage ( const QString &  title  ) 

Create wizard page with given title.

Definition at line 91 of file kconfigwizard.cpp.

void KConfigWizard::init (  )  [protected]

Definition at line 61 of file kconfigwizard.cpp.

KConfigPropagator* KPIM::KConfigWizard::propagator (  )  [inline]

Return propagator the wizard operates on.

Definition at line 66 of file kconfigwizard.h.

void KConfigWizard::readConfig (  )  [protected, slot]

Definition at line 184 of file kconfigwizard.cpp.

void KConfigWizard::setPropagator ( KConfigPropagator *  p  ) 

Set propagator the wizard operates on.

Definition at line 79 of file kconfigwizard.cpp.

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:
  • kconfigwizard.h
  • kconfigwizard.cpp

libkdepim

Skip menu "libkdepim"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal