KDE PIM / Developers / API Docs / libkdepim

KPrefsWidDate 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 date values. It is meant to be used by KPrefsDialog. The user is responsible for the layout management.


Constructor & Destructor Documentation

KPrefsWidDate::KPrefsWidDate KConfigSkeleton::ItemDateTime *  item,
QWidget *  parent
 

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.

Member Function Documentation

QLabel * KPrefsWidDate::label  ) 
 

Return QLabel used by this widget.

KDateEdit * KPrefsWidDate::dateEdit  ) 
 

Return QSpinBox used by this widget.

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 KPrefsWid.

void KPrefsWidDate::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: