KDE PIM / Developers / API Docs / libkdepim

KPrefsWid Class Reference

Base class for GUI control elements used by KPrefsDialog. More...

#include <kprefsdialog.h>

Inherits QObject.

Inherited by Komposer::EditorSelection, KPrefsWidBool, KPrefsWidColor, KPrefsWidDate, KPrefsWidDuration, KPrefsWidFont, KPrefsWidInt, KPrefsWidPath, KPrefsWidRadios, KPrefsWidString, and KPrefsWidTime.

List of all members.

Signals

Public Member Functions


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.


Member Function Documentation

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 KPrefsWidBool, KPrefsWidInt, KPrefsWidTime, KPrefsWidDuration, KPrefsWidDate, KPrefsWidColor, KPrefsWidFont, KPrefsWidRadios, KPrefsWidString, and KPrefsWidPath.

virtual void KPrefsWid::writeConfig  )  [pure virtual]
 

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

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

QValueList< QWidget * > KPrefsWid::widgets  )  const [virtual]
 

Return a list of widgets used by this control element.

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

void KPrefsWid::changed  )  [signal]
 

Emitted when widget value has changed.


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