KDateWidget Class Reference
This widget can be used to display or allow user selection of a date. A pushbutton to display or allow user selection of a date. More...
#include <kdatewidget.h>
Inheritance diagram for KDateWidget:

Signals | |
void | changed (QDate) |
Emitted whenever the date of the widget is changed, either with setDate() or via user selection. | |
Public Member Functions | |
KDateWidget (QWidget *parent=0, const char *name=0) | |
Constructs a date selection widget. | |
KDateWidget (QDate date, QWidget *parent=0, const char *name=0) | |
Constructs a date selection widget with the initial date set to date . | |
virtual | ~KDateWidget () |
Destructs the date selection widget. | |
QDate | date () const |
Returns the currently selected date. | |
void | setDate (QDate date) |
Changes the selected date to date . | |
Protected Slots | |
void | slotDateChanged () |
Protected Member Functions | |
void | init () |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
This widget can be used to display or allow user selection of a date. A pushbutton to display or allow user selection of a date.
- See also:
- KDatePicker
- Version:
- Id
- kdatewidget.h,v 1.3 2002/03/04 00:51:47 lunakl Exp
Definition at line 33 of file kdatewidget.h.
Constructor & Destructor Documentation
|
Constructs a date selection widget.
Definition at line 53 of file kdatewidget.cpp. References KStdAccel::name(), and setDate(). |
|
Constructs a date selection widget with the initial date set to
Definition at line 60 of file kdatewidget.cpp. References KStdAccel::name(), and setDate(). |
|
Destructs the date selection widget.
Definition at line 86 of file kdatewidget.cpp. |
Member Function Documentation
|
Returns the currently selected date.
Definition at line 109 of file kdatewidget.cpp. |
|
Changes the selected date to
Definition at line 90 of file kdatewidget.cpp. References changed(), QDate::day(), QDate::daysInMonth(), QDate::month(), and QDate::year(). Referenced by KDateWidget(). |
|
Emitted whenever the date of the widget is changed, either with setDate() or via user selection.
Referenced by setDate(). |
The documentation for this class was generated from the following files: