KDE PIM / Developers / API Docs / libkdepim

KPrefsWidTime Class Reference

Widgets for time settings in KPrefsDialog. More...

#include <kprefsdialog.h>

Inherits KPrefsWid.

List of all members.

Public Member Functions


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.


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.

Member Function Documentation

QLabel * KPrefsWidTime::label  ) 
 

Return QLabel used by this widget.

KTimeEdit * KPrefsWidTime::timeEdit  ) 
 

Return QSpinBox used by this widget.

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.

void KPrefsWidTime::writeConfig  )  [virtual]
 

This function is called to write the current setting of the widget to the stored configuration.

Implements KPrefsWid.


The documentation for this class was generated from the following files: