libkdepim
KPIM::KPrefsWidDate Class Reference
Widgets for time settings in KPrefsDialog. More...
#include <kprefsdialog.h>

Public Member Functions | |
| KPrefsWidDate (KConfigSkeleton::ItemDateTime *item, QWidget *parent=0) | |
| KDateEdit * | dateEdit () |
| QLabel * | label () |
| void | readConfig () |
| void | writeConfig () |
Detailed Description
Widgets for time settings in KPrefsDialog.
This class provides a control element for configuring date values. It is meant to be used by KPrefsDialog. The user is responsible for the layout management.
Definition at line 248 of file kprefsdialog.h.
Constructor & Destructor Documentation
| KPrefsWidDate::KPrefsWidDate | ( | KConfigSkeleton::ItemDateTime * | item, | |
| QWidget * | parent = 0 | |||
| ) | [explicit] |
Create a time value control element consisting of a label and a date box.
- Parameters:
-
item The KConfigSkeletonItem representing the preferences entry. parent Parent widget.
Definition at line 387 of file kprefsdialog.cpp.
Member Function Documentation
| KDateEdit * KPrefsWidDate::dateEdit | ( | ) |
Return QSpinBox used by this widget.
Definition at line 428 of file kprefsdialog.cpp.
| QLabel * KPrefsWidDate::label | ( | ) |
Return QLabel used by this widget.
Definition at line 423 of file kprefsdialog.cpp.
| void KPrefsWidDate::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 404 of file kprefsdialog.cpp.
| void KPrefsWidDate::writeConfig | ( | ) | [virtual] |
This function is called to write the current setting of the widget to the stored configuration.
Implements KPIM::KPrefsWid.
Definition at line 413 of file kprefsdialog.cpp.
The documentation for this class was generated from the following files:
KDE 4.5 API Reference