kdeui
KTimeWidget Class Reference
A time selection widget. More...
#include <ktimewidget.h>
Inheritance diagram for KTimeWidget:
Public Slots | |
void | setTime (const QTime &time) |
Signals | |
void | valueChanged (const QTime &time) |
Public Member Functions | |
KTimeWidget (const QTime &time, QWidget *parent=0, const char *name=0) | |
KTimeWidget (QWidget *parent=0, const char *name=0) | |
QTime | time () const |
virtual | ~KTimeWidget () |
Properties | |
QTime | time |
Detailed Description
A time selection widget.This widget can be used to display or allow user selection of time.
KDE Time Widget
- Since:
- 3.2
Definition at line 37 of file ktimewidget.h.
Constructor & Destructor Documentation
KTimeWidget::KTimeWidget | ( | 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.
KTimeWidget::~KTimeWidget | ( | ) | [virtual] |
Member Function Documentation
void KTimeWidget::setTime | ( | const QTime & | time | ) | [slot] |
QTime KTimeWidget::time | ( | ) | const |
Returns the currently selected time.
void KTimeWidget::valueChanged | ( | const QTime & | time | ) | [signal] |
Emitted whenever the time of the widget is changed, either with setTime() or via user selection.
Property Documentation
QTime KTimeWidget::time [read, write] |
Definition at line 40 of file ktimewidget.h.
The documentation for this class was generated from the following files: