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

Public Member Functions | |
KPrefsWidTime (const QString &text, int *reference, QWidget *parent) | |
Create a time widget consisting of a label and a spinbox. | |
QLabel * | label () |
Return QLabel used by this widget. | |
QSpinBox * | spinBox () |
Return QSpinBox 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 time settings in KPrefsDialog.This class provides a widget for configuring time values. It is meant to be used by KPrefsDialog. The user is responsible for the layout management.
Definition at line 102 of file kprefsdialog.h.
Constructor & Destructor Documentation
|
Create a time widget consisting of a label and a spinbox.
Definition at line 170 of file kprefsdialog.cpp. References QSpinBox::setSuffix(). |
Member Function Documentation
|
Return QLabel used by this widget.
Definition at line 190 of file kprefsdialog.cpp. |
|
Return QSpinBox used by this widget.
Definition at line 195 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 180 of file kprefsdialog.cpp. References QSpinBox::setValue(). |
|
This function is called to write the current setting of the widget to the stored configuration.
Implements KPrefsWid. Definition at line 185 of file kprefsdialog.cpp. References QSpinBox::value(). |
The documentation for this class was generated from the following files: