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 Member Functions

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

Properties

QTime time

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.

References KTimeWidget().

Referenced by KTimeWidget().

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 KTimeWidget(), and 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.

void KTimeWidget::setTime const QTime time  )  [slot]
 

Changes the selected time to time.

Definition at line 48 of file ktimewidget.cpp.

References setTime().

Referenced by KTimeWidget(), and setTime().

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.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Mar 16 17:22:07 2005 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003