KPrefsWidBool Class Reference
Widget for bool settings in KPrefsDialog. More...
#include <kprefsdialog.h>
Inheritance diagram for KPrefsWidBool:

Public Member Functions | |
KPrefsWidBool (const QString &text, bool *reference, QWidget *parent) | |
Create a bool widget consisting of a QCheckbox. | |
QCheckBox * | checkBox () |
Return the QCheckbox used by this widget. | |
void | readConfig () |
This function is called to read value of the setting from the stored configuration and display it in the widget. | |
void | writeConfig () |
This function is called to write the current setting of the widget to the stored configuration. |
Detailed Description
Widget for bool settings in KPrefsDialog.This class provides a widget for configuring bool values. It is meant to be used by KPrefsDialog. The user is responsible for the layout management.
Definition at line 70 of file kprefsdialog.h.
Constructor & Destructor Documentation
|
Create a bool widget consisting of a QCheckbox.
Definition at line 59 of file kprefsdialog.cpp. |
Member Function Documentation
|
Return the QCheckbox used by this widget.
Definition at line 77 of file kprefsdialog.cpp. |
|
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 67 of file kprefsdialog.cpp. References QCheckBox::setChecked(). |
|
This function is called to write the current setting of the widget to the stored configuration.
Implements KPrefsWid. Definition at line 72 of file kprefsdialog.cpp. References QCheckBox::isChecked(). |
The documentation for this class was generated from the following files: