kdeui
KDateTimeWidget Class Reference
A combination of a date and a time selection widget. More...
#include <kdatetimewidget.h>
Inheritance diagram for KDateTimeWidget:
Public Slots | |
void | setDateTime (const QDateTime &datetime) |
Signals | |
void | valueChanged (const QDateTime &datetime) |
Public Member Functions | |
QDateTime | dateTime () const |
KDateTimeWidget (const QDateTime &datetime, QWidget *parent=0, const char *name=0) | |
KDateTimeWidget (QWidget *parent=0, const char *name=0) | |
virtual | ~KDateTimeWidget () |
Properties | |
QDateTime | dateTime |
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
KDE Date Time Widget
- Version:
- Id
- kdatetimewidget.h 465272 2005-09-29 09:47:40Z mueller
- Since:
- 3.2
Definition at line 40 of file kdatetimewidget.h.
Constructor & Destructor Documentation
KDateTimeWidget::KDateTimeWidget | ( | QWidget * | parent = 0 , |
|
const char * | name = 0 | |||
) |
KDateTimeWidget::KDateTimeWidget | ( | const QDateTime & | datetime, | |
QWidget * | 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::~KDateTimeWidget | ( | ) | [virtual] |
Member Function Documentation
QDateTime KDateTimeWidget::dateTime | ( | ) | const |
Returns the currently selected date and time.
void KDateTimeWidget::setDateTime | ( | const QDateTime & | datetime | ) | [slot] |
void KDateTimeWidget::valueChanged | ( | const QDateTime & | datetime | ) | [signal] |
Emitted whenever the date or time of the widget is changed, either with setDateTime() or via user selection.
Property Documentation
QDateTime KDateTimeWidget::dateTime [read, write] |
Definition at line 43 of file kdatetimewidget.h.
The documentation for this class was generated from the following files: