kdeui Library API Documentation

KTimeWidget Class Reference

This widget can be used to display or allow user selection of time. A combination of a time selection widget. More...

#include <ktimewidget.h>

Inheritance diagram for KTimeWidget:

QWidget List of all members.

Public Slots

void setTime (const QTime &time)

Signals

void valueChanged (const QTime &time)

Public Methods

 KTimeWidget (QWidget *parent=0, const char *name=0)
 KTimeWidget (const QTime &time, QWidget *parent=0, const char *name=0)
virtual ~KTimeWidget ()
QTime time () const

Detailed Description

This widget can be used to display or allow user selection of time. A combination of a time selection widget.

ktimewidget.png

KDE Time Widget

Author:
Hans Petter Bieker <bieker@kde.org>
Version:
Id:
ktimewidget.h,v 1.5 2003/08/16 19:45:03 coolo Exp
Since:
3.2

Definition at line 35 of file ktimewidget.h.


Constructor & Destructor Documentation

KTimeWidget::KTimeWidget QWidget   parent = 0,
const char *    name = 0
 

Constructs a time selection widget.

Definition at line 15 of file ktimewidget.cpp.

KTimeWidget::KTimeWidget const QTime   time,
QWidget   parent = 0,
const char *    name = 0
 

Constructs a time selection widget with the initial time set to time.

Definition at line 21 of file ktimewidget.cpp.

References setTime().

KTimeWidget::~KTimeWidget   [virtual]
 

Destructs the time selection widget.

Definition at line 30 of file ktimewidget.cpp.


Member Function Documentation

QTime KTimeWidget::time   const
 

Returns the currently selected time.

Definition at line 53 of file ktimewidget.cpp.

void KTimeWidget::setTime const QTime   time [slot]
 

Changes the selected time to time.

Definition at line 48 of file ktimewidget.cpp.

Referenced by KTimeWidget().

void KTimeWidget::valueChanged const QTime   time [signal]
 

Emitted whenever the time of the widget is changed, either with setTime() or via user selection.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdeui Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sun May 16 22:02:22 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003