libkdepim Library API Documentation

KPrefsWidTime Class Reference

Widgets for time settings in KPrefsDialog. More...

#include <kprefsdialog.h>

Inheritance diagram for KPrefsWidTime:

Inheritance graph
[legend]
Collaboration diagram for KPrefsWidTime:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 KPrefsWidTime (KConfigSkeleton::ItemDateTime *item, QWidget *parent)
QLabellabel ()
KTimeEdittimeEdit ()
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 157 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 277 of file kprefsdialog.cpp.

References KPrefsWid::changed().


Member Function Documentation

QLabel * KPrefsWidTime::label  ) 
 

Return QLabel used by this widget.

Definition at line 300 of file kprefsdialog.cpp.

KTimeEdit * KPrefsWidTime::timeEdit  ) 
 

Return QSpinBox used by this widget.

Definition at line 305 of file kprefsdialog.cpp.

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 290 of file kprefsdialog.cpp.

References KTimeEdit::setTime().

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 295 of file kprefsdialog.cpp.

References KTimeEdit::getTime().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for libkdepim Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Aug 23 18:19:51 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003