libtdepim

KPrefsWidBool Class Reference

#include <kprefsdialog.h>

Inheritance diagram for KPrefsWidBool:
KPrefsWid

Public Member Functions

 KPrefsWidBool (TDEConfigSkeleton::ItemBool *item, TQWidget *parent)
 
TQCheckBox * checkBox ()
 
void readConfig ()
 
void writeConfig ()
 
TQValueList< TQWidget * > widgets () const
 

Additional Inherited Members

- Signals inherited from KPrefsWid
void changed ()
 

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.

Definition at line 92 of file kprefsdialog.h.

Constructor & Destructor Documentation

◆ KPrefsWidBool()

KPrefsWidBool::KPrefsWidBool ( TDEConfigSkeleton::ItemBool *  item,
TQWidget *  parent 
)

Create a bool value control element consisting of a TQCheckbox.

Parameters
itemThe TDEConfigSkeletonItem representing the preferences entry.
parentParent widget.

Definition at line 102 of file kprefsdialog.cpp.

Member Function Documentation

◆ checkBox()

TQCheckBox * KPrefsWidBool::checkBox ( )

Return the TQCheckbox used by this control element.

Definition at line 122 of file kprefsdialog.cpp.

◆ readConfig()

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.

Definition at line 112 of file kprefsdialog.cpp.

◆ widgets()

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

Return a list of widgets used by this control element.

Reimplemented from KPrefsWid.

Definition at line 127 of file kprefsdialog.cpp.

◆ writeConfig()

void KPrefsWidBool::writeConfig ( )
virtual

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

Implements KPrefsWid.

Definition at line 117 of file kprefsdialog.cpp.


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