libtdepim

KPrefsWidDate Class Reference

#include <kprefsdialog.h>

Inheritance diagram for KPrefsWidDate:
KPrefsWid

Public Member Functions

 KPrefsWidDate (TDEConfigSkeleton::ItemDateTime *item, TQWidget *parent)
 
TQLabel * label ()
 
KDateEditdateEdit ()
 
void readConfig ()
 
void writeConfig ()
 
- Public Member Functions inherited from KPrefsWid
virtual TQValueList< TQWidget * > widgets () const
 

Additional Inherited Members

- Signals inherited from KPrefsWid
void changed ()
 

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 242 of file kprefsdialog.h.

Constructor & Destructor Documentation

◆ KPrefsWidDate()

KPrefsWidDate::KPrefsWidDate ( TDEConfigSkeleton::ItemDateTime *  item,
TQWidget *  parent 
)

Create a time value control element consisting of a label and a date box.

Parameters
itemThe TDEConfigSkeletonItem representing the preferences entry.
parentParent widget.

Definition at line 363 of file kprefsdialog.cpp.

Member Function Documentation

◆ dateEdit()

KDateEdit * KPrefsWidDate::dateEdit ( )

Return TQSpinBox used by this widget.

Definition at line 394 of file kprefsdialog.cpp.

◆ label()

TQLabel * KPrefsWidDate::label ( )

Return TQLabel used by this widget.

Definition at line 389 of file kprefsdialog.cpp.

◆ readConfig()

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.

Definition at line 377 of file kprefsdialog.cpp.

◆ writeConfig()

void KPrefsWidDate::writeConfig ( )
virtual

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

Implements KPrefsWid.

Definition at line 382 of file kprefsdialog.cpp.


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