libtdepim

KPrefsWid Class Referenceabstract

#include <kprefsdialog.h>

Inheritance diagram for KPrefsWid:
KPrefsWidBool KPrefsWidColor KPrefsWidCombo KPrefsWidDate KPrefsWidDuration KPrefsWidFont KPrefsWidInt KPrefsWidPath KPrefsWidRadios KPrefsWidString KPrefsWidTime

Signals

void changed ()
 

Public Member Functions

virtual void readConfig ()=0
 
virtual void writeConfig ()=0
 
virtual TQValueList< TQWidget * > widgets () const
 

Detailed Description

Base class for GUI control elements used by KPrefsDialog.

Author
Cornelius Schumacher
See also
KPrefsDialog

This class provides the interface for the GUI control elements used by KPrefsDialog. The control element consists of a set of widgets for handling a certain type of configuration information.

Definition at line 58 of file kprefsdialog.h.

Member Function Documentation

◆ changed

void KPrefsWid::changed ( )
signal

Emitted when widget value has changed.

◆ readConfig()

virtual void KPrefsWid::readConfig ( )
pure virtual

This function is called to read value of the setting from the stored configuration and display it in the widget.

Implemented in KPrefsWidPath, KPrefsWidString, KPrefsWidCombo, KPrefsWidRadios, KPrefsWidFont, KPrefsWidColor, KPrefsWidDate, KPrefsWidDuration, KPrefsWidTime, KPrefsWidInt, and KPrefsWidBool.

◆ widgets()

TQValueList< TQWidget * > KPrefsWid::widgets ( ) const
virtual

Return a list of widgets used by this control element.

Reimplemented in KPrefsWidPath, KPrefsWidString, KPrefsWidCombo, KPrefsWidRadios, KPrefsWidInt, and KPrefsWidBool.

Definition at line 96 of file kprefsdialog.cpp.

◆ writeConfig()

virtual void KPrefsWid::writeConfig ( )
pure virtual

This function is called to write the current setting of the widget to the stored configuration.

Implemented in KPrefsWidPath, KPrefsWidString, KPrefsWidCombo, KPrefsWidRadios, KPrefsWidFont, KPrefsWidColor, KPrefsWidDate, KPrefsWidDuration, KPrefsWidTime, KPrefsWidInt, and KPrefsWidBool.


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