libtdepim

#include <tdeconfigwizard.h>

Inherits KDialogBase.

Public Member Functions

 TDEConfigWizard (TQWidget *parent=0, char *name=0, bool modal=false)
 
 TDEConfigWizard (TDEConfigPropagator *propagator, TQWidget *parent=0, char *name=0, bool modal=false)
 
virtual ~TDEConfigWizard ()
 
void setPropagator (TDEConfigPropagator *)
 
TDEConfigPropagator * propagator ()
 
TQFrame * createWizardPage (const TQString &title)
 
virtual void usrReadConfig ()=0
 
virtual void usrWriteConfig ()=0
 
virtual TQString validate ()
 

Protected Slots

void readConfig ()
 
void slotOk ()
 
void slotAboutToShowPage (TQWidget *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 tdeconfigwizard.h.

Constructor & Destructor Documentation

◆ TDEConfigWizard() [1/2]

TDEConfigWizard::TDEConfigWizard ( TQWidget *  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 tdeconfigwizard.cpp.

◆ TDEConfigWizard() [2/2]

TDEConfigWizard::TDEConfigWizard ( TDEConfigPropagator *  propagator,
TQWidget *  parent = 0,
char *  name = 0,
bool  modal = false 
)

Create wizard for given TDEConfigPropagator.

The wizard takes ownership of the propagator.

Definition at line 43 of file tdeconfigwizard.cpp.

◆ ~TDEConfigWizard()

TDEConfigWizard::~TDEConfigWizard ( )
virtual

Destructor.

Definition at line 52 of file tdeconfigwizard.cpp.

Member Function Documentation

◆ createWizardPage()

TQFrame * TDEConfigWizard::createWizardPage ( const TQString &  title)

Create wizard page with given title.

Definition at line 77 of file tdeconfigwizard.cpp.

◆ propagator()

TDEConfigPropagator* TDEConfigWizard::propagator ( )
inline

Return propagator the wizard operates on.

Definition at line 60 of file tdeconfigwizard.h.

◆ setPropagator()

void TDEConfigWizard::setPropagator ( TDEConfigPropagator *  p)

Set propagator the wizard operates on.

Definition at line 65 of file tdeconfigwizard.cpp.

◆ usrReadConfig()

virtual void TDEConfigWizard::usrReadConfig ( )
pure virtual

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

◆ usrWriteConfig()

virtual void TDEConfigWizard::usrWriteConfig ( )
pure virtual

This function is called when the wizard is finished.

You have to save all settings from the GUI to the TDEConfigSkeleton object here, so that the TDEConfigPropagator can take them up from there.

◆ validate()

virtual TQString TDEConfigWizard::validate ( )
inlinevirtual

Validates the supplied data.

Returns a appropiate error when some data is invalid. Return TQString() if all data is valid.

Definition at line 84 of file tdeconfigwizard.h.


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