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

Public Methods | |
KPrefsWidTime (KConfigSkeleton::ItemInt *item, QWidget *parent) | |
QLabel * | label () |
QSpinBox * | spinBox () |
void | readConfig () |
void | writeConfig () |
Detailed Description
Widgets for time settings in KPrefsDialog.This class provides a control element for configuring time values. It is meant to be used by KPrefsDialog. The user is responsible for the layout management.
Definition at line 155 of file kprefsdialog.h.
Constructor & Destructor Documentation
|
Create a time value control element consisting of a label and a spinbox.
Definition at line 270 of file kprefsdialog.cpp. References QWhatsThis::add(), KPrefsWid::changed(), QObject::connect(), QString::isNull(), QObject::parent(), and QSpinBox::setSuffix(). |
Member Function Documentation
|
Return QLabel used by this widget.
Definition at line 294 of file kprefsdialog.cpp. |
|
Return QSpinBox used by this widget.
Definition at line 299 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 284 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 289 of file kprefsdialog.cpp. References QSpinBox::value(). |
The documentation for this class was generated from the following files: