# class KDateTimeWidget

###

Module | kdeui
Namespace |
Class | KDateTimeWidget
Inherits | QWidget

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

Author Hans Petter Bieker <bieker@kde.org>

### methods

- KDateTimeWidget (parent)

  returns ctor
  KDE 4.1.0 and later only

  Argument | Type | Default
  --- | --- | ---
  parent | QWidget | 0

  Constructs a date and time selection widget.

- KDateTimeWidget (datetime, parent)

  returns ctor
  KDE 4.1.0 and later only

  Argument | Type | Default
  --- | --- | ---
  datetime | QDateTime |
  parent | QWidget | 0

  Constructs a date and time selection widget with the initial date and time set to datetime.

- KDateTimeWidget (a0)

  returns ctor
  before KDE 4.1.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget | 0

- KDateTimeWidget (a0, a1)

  returns ctor
  before KDE 4.1.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | QDateTime |
  a1 | QWidget | 0

- dateTime ( )

  returns QDateTime

  Returns the currently selected date and time.

- setDateTime (datetime)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  datetime | QDateTime |

  Changes the selected date and time to datetime.

- valueChanged (datetime)

  returns Nothing
  SIGNAL ("valueChanged (const QDateTime&)")

  Argument | Type | Default
  --- | --- | ---
  datetime | QDateTime |

  Emitted whenever the date or time of the widget is changed, either with setDateTime() or via user selection.