#include <kprefsdialog.h>
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
-
item The TDEConfigSkeletonItem representing the preferences entry. parent Parent 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()
|
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()
|
virtual |
Return a list of widgets used by this control element.
Reimplemented from KPrefsWid.
Definition at line 127 of file kprefsdialog.cpp.
◆ 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: