KTimeWidget Class Reference
#include <ktimewidget.h>
Inherits TQWidget.
Public Slots | |
void | setTime (const TQTime &time) |
Signals | |
void | valueChanged (const TQTime &time) |
Public Member Functions | |
KTimeWidget (TQWidget *parent=0, const char *name=0) | |
KTimeWidget (const TQTime &time, TQWidget *parent=0, const char *name=0) | |
virtual | ~KTimeWidget () |
TQTime | time () const |
Detailed Description
A time selection widget.
This widget can be used to display or allow user selection of time.
- Since
- 3.2
Definition at line 37 of file ktimewidget.h.
Constructor & Destructor Documentation
◆ KTimeWidget() [1/2]
KTimeWidget::KTimeWidget | ( | TQWidget * | parent = 0 , |
const char * | name = 0 |
||
) |
Constructs a time selection widget.
Definition at line 15 of file ktimewidget.cpp.
◆ KTimeWidget() [2/2]
KTimeWidget::KTimeWidget | ( | const TQTime & | time, |
TQWidget * | 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()
|
virtual |
Destructs the time selection widget.
Definition at line 30 of file ktimewidget.cpp.
Member Function Documentation
◆ setTime
|
slot |
Changes the selected time to time
.
Definition at line 48 of file ktimewidget.cpp.
◆ time()
TQTime KTimeWidget::time | ( | ) | const |
Returns the currently selected time.
Definition at line 53 of file ktimewidget.cpp.
◆ valueChanged
|
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: