libkdepim
KPIM::KPrefsWidDuration Class Reference
#include <kprefsdialog.h>
Inheritance diagram for KPIM::KPrefsWidDuration:

Detailed Description
Widgets for duration settings in KPrefsDialog.This class provides a control element for configuring duration values. It is meant to be used by KPrefsDialog. The user is responsible for the layout management.
Definition at line 208 of file kprefsdialog.h.
Public Member Functions | |
| KPrefsWidDuration (KConfigSkeleton::ItemDateTime *item, QWidget *parent=0) | |
| QLabel * | label () |
| void | readConfig () |
| QTimeEdit * | timeEdit () |
| void | writeConfig () |
Constructor & Destructor Documentation
| KPrefsWidDuration::KPrefsWidDuration | ( | KConfigSkeleton::ItemDateTime * | item, | |
| QWidget * | parent = 0 | |||
| ) | [explicit] |
Create a duration value control element consisting of a label and a spinbox.
- Parameters:
-
item The KConfigSkeletonItem representing the preferences entry. parent Parent widget.
Definition at line 317 of file kprefsdialog.cpp.
Member Function Documentation
| QLabel * KPrefsWidDuration::label | ( | ) |
| void KPrefsWidDuration::readConfig | ( | ) | [virtual] |
This function is called to read value of the setting from the stored configuration and display it in the widget.
Implements KPIM::KPrefsWid.
Definition at line 333 of file kprefsdialog.cpp.
| QTimeEdit * KPrefsWidDuration::timeEdit | ( | ) |
| void KPrefsWidDuration::writeConfig | ( | ) | [virtual] |
This function is called to write the current setting of the widget to the stored configuration.
Implements KPIM::KPrefsWid.
Definition at line 338 of file kprefsdialog.cpp.
The documentation for this class was generated from the following files:
KDE 4.1 API Reference