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) | 
| Public Member Functions | |
| KDateWidget (QWidget *parent=0, const char *name=0) | |
| KDateWidget (QDate date, QWidget *parent=0, const char *name=0) | |
| virtual | ~KDateWidget () | 
| QDate | date () const | 
| void | setDate (QDate date) | 
| Protected Slots | |
| void | slotDateChanged () | 
| Protected Member Functions | |
| void | init () | 
| void | init (const QDate &) | 
| 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.7 2003/08/16 19:45:01 coolo Exp
 
Definition at line 33 of file kdatewidget.h.
Constructor & Destructor Documentation
| 
 | ||||||||||||
| Constructs a date selection widget. 
 Definition at line 54 of file kdatewidget.cpp. References setDate(). | 
| 
 | ||||||||||||||||
| 
Constructs a date selection widget with the initial date set to  
 Definition at line 62 of file kdatewidget.cpp. References setDate(). | 
| 
 | 
| Destructs the date selection widget. 
 Definition at line 120 of file kdatewidget.cpp. | 
Member Function Documentation
| 
 | 
| Returns the currently selected date. 
 Definition at line 146 of file kdatewidget.cpp. | 
| 
 | 
| 
Changes the selected date to  
 Definition at line 125 of file kdatewidget.cpp. References KLocale::calendar(), changed(), KCalendarSystem::day(), KCalendarSystem::daysInMonth(), KGlobal::locale(), KCalendarSystem::month(), and KCalendarSystem::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:

