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

Public Member Functions | |
KPrefsWidTime (KConfigSkeleton::ItemDateTime *item, QWidget *parent) | |
QLabel * | label () |
KTimeEdit * | timeEdit () |
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 166 of file kprefsdialog.h.
Constructor & Destructor Documentation
KPrefsWidTime::KPrefsWidTime | ( | KConfigSkeleton::ItemDateTime * | item, | |
QWidget * | parent | |||
) |
Create a time value control element consisting of a label and a spinbox.
- Parameters:
-
item The KConfigSkeletonItem representing the preferences entry. parent Parent widget.
Definition at line 283 of file kprefsdialog.cpp.
Member Function Documentation
QLabel * KPrefsWidTime::label | ( | ) |
void KPrefsWidTime::readConfig | ( | ) | [virtual] |
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 297 of file kprefsdialog.cpp.
KTimeEdit * KPrefsWidTime::timeEdit | ( | ) |
void KPrefsWidTime::writeConfig | ( | ) | [virtual] |
This function is called to write the current setting of the widget to the stored configuration.
Implements KPrefsWid.
Definition at line 302 of file kprefsdialog.cpp.
The documentation for this class was generated from the following files: