KDE PIM / Developers / API Docs / libkdepim

KPrefsWidBool Class Reference

Widgets for bool settings in KPrefsDialog. More...

#include <kprefsdialog.h>

Inherits KPrefsWid.

List of all members.

Public Member Functions


Detailed Description

Widgets for bool settings in KPrefsDialog.

This class provides a control element for configuring bool values. It is meant to be used by KPrefsDialog. The user is responsible for the layout management.


Constructor & Destructor Documentation

KPrefsWidBool::KPrefsWidBool KConfigSkeleton::ItemBool *  item,
QWidget *  parent
 

Create a bool value control element consisting of a QCheckbox.

Parameters:
item The KConfigSkeletonItem representing the preferences entry.
parent Parent widget.

Member Function Documentation

QCheckBox * KPrefsWidBool::checkBox  ) 
 

Return the QCheckbox used by this control element.

void KPrefsWidBool::readConfig  )  [virtual]
 

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

Implements KPrefsWid.

void KPrefsWidBool::writeConfig  )  [virtual]
 

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

Implements KPrefsWid.

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

Return a list of widgets used by this control element.

Reimplemented from KPrefsWid.


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