#include <kdatetimewidget.h>
Inherits TQWidget.
Public Slots | |
void | setDateTime (const TQDateTime &datetime) |
Signals | |
void | valueChanged (const TQDateTime &datetime) |
Public Member Functions | |
KDateTimeWidget (TQWidget *parent=0, const char *name=0) | |
KDateTimeWidget (const TQDateTime &datetime, TQWidget *parent=0, const char *name=0) | |
virtual | ~KDateTimeWidget () |
TQDateTime | dateTime () const |
Detailed Description
A combination of a date and a time selection widget.
This widget can be used to display or allow user selection of date and time.
- See also
- KDateWidget
- Version
- $Id$
- Since
- 3.2
Definition at line 40 of file kdatetimewidget.h.
Constructor & Destructor Documentation
◆ KDateTimeWidget() [1/2]
KDateTimeWidget::KDateTimeWidget | ( | TQWidget * | parent = 0 , |
const char * | name = 0 |
||
) |
Constructs a date and time selection widget.
Definition at line 17 of file kdatetimewidget.cpp.
◆ KDateTimeWidget() [2/2]
KDateTimeWidget::KDateTimeWidget | ( | const TQDateTime & | datetime, |
TQWidget * | parent = 0 , |
||
const char * | name = 0 |
||
) |
Constructs a date and time selection widget with the initial date and time set to datetime
.
Definition at line 23 of file kdatetimewidget.cpp.
◆ ~KDateTimeWidget()
|
virtual |
Destructs the date and time selection widget.
Definition at line 32 of file kdatetimewidget.cpp.
Member Function Documentation
◆ dateTime()
TQDateTime KDateTimeWidget::dateTime | ( | ) | const |
Returns the currently selected date and time.
Definition at line 59 of file kdatetimewidget.cpp.
◆ setDateTime
|
slot |
Changes the selected date and time to datetime
.
Definition at line 53 of file kdatetimewidget.cpp.
◆ valueChanged
|
signal |
Emitted whenever the date or time of the widget is changed, either with setDateTime() or via user selection.
The documentation for this class was generated from the following files: