libtdepim

KPrefsWidDuration Class Reference

#include <kprefsdialog.h>

Inheritance diagram for KPrefsWidDuration:
KPrefsWid

Public Member Functions

 KPrefsWidDuration (TDEConfigSkeleton::ItemDateTime *item, TQWidget *parent)
 
TQLabel * label ()
 
TQTimeEdit * timeEdit ()
 
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 duration settings in KPrefsDialog.

This class provides a control element for configuring duration values. It is meant to be used by KPrefsDialog. The user is responsible for the layout management.

Definition at line 204 of file kprefsdialog.h.

Constructor & Destructor Documentation

◆ KPrefsWidDuration()

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

Create a duration value control element consisting of a label and a spinbox.

Parameters
itemThe TDEConfigSkeletonItem representing the preferences entry.
parentParent widget.

Definition at line 322 of file kprefsdialog.cpp.

Member Function Documentation

◆ label()

TQLabel * KPrefsWidDuration::label ( )

Return TQLabel used by this widget.

Definition at line 352 of file kprefsdialog.cpp.

◆ readConfig()

void KPrefsWidDuration::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 340 of file kprefsdialog.cpp.

◆ timeEdit()

TQTimeEdit * KPrefsWidDuration::timeEdit ( )

Return TQSpinBox used by this widget.

Definition at line 357 of file kprefsdialog.cpp.

◆ writeConfig()

void KPrefsWidDuration::writeConfig ( )
virtual

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

Implements KPrefsWid.

Definition at line 345 of file kprefsdialog.cpp.


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