#include <kdatewidget.h>
Inherits TQWidget.
Signals | |
void | changed (TQDate) |
Public Member Functions | |
KDateWidget (TQWidget *parent=0, const char *name=0) | |
KDateWidget (TQDate date, TQWidget *parent=0, const char *name=0) | |
virtual | ~KDateWidget () |
TQDate | date () const |
void | setDate (TQDate date) |
Protected Slots | |
void | slotDateChanged () |
Protected Member Functions | |
void | init () |
void | init (const TQDate &) |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
A pushbutton to display or allow user selection of a date.
This widget can be used to display or allow user selection of a date.
- See also
- KDatePicker
- Version
- $Id$
Definition at line 36 of file kdatewidget.h.
Constructor & Destructor Documentation
◆ KDateWidget() [1/2]
KDateWidget::KDateWidget | ( | TQWidget * | parent = 0 , |
const char * | name = 0 |
||
) |
Constructs a date selection widget.
Definition at line 54 of file kdatewidget.cpp.
◆ KDateWidget() [2/2]
KDateWidget::KDateWidget | ( | TQDate | date, |
TQWidget * | parent = 0 , |
||
const char * | name = 0 |
||
) |
Constructs a date selection widget with the initial date set to date
.
Definition at line 62 of file kdatewidget.cpp.
◆ ~KDateWidget()
|
virtual |
Destructs the date selection widget.
Definition at line 120 of file kdatewidget.cpp.
Member Function Documentation
◆ changed
|
signal |
Emitted whenever the date of the widget is changed, either with setDate() or via user selection.
◆ date()
TQDate KDateWidget::date | ( | ) | const |
Returns the currently selected date.
Definition at line 147 of file kdatewidget.cpp.
◆ setDate()
void KDateWidget::setDate | ( | TQDate | date | ) |
Changes the selected date to date
.
Definition at line 126 of file kdatewidget.cpp.
The documentation for this class was generated from the following files: