kdeui
KDateWidget Class Reference
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 | |
QDate | date () const |
KDateWidget (QDate date, QWidget *parent=0, const char *name=0) | |
KDateWidget (QWidget *parent=0, const char *name=0) | |
void | setDate (QDate date) |
virtual | ~KDateWidget () |
Protected Slots | |
void | slotDateChanged () |
Protected Member Functions | |
void | init (const QDate &) |
void | init () |
virtual void | virtual_hook (int id, void *data) |
Properties | |
QDate | date |
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
- kdatewidget.h 465272 2005-09-29 09:47:40Z mueller
Definition at line 36 of file kdatewidget.h.
Constructor & Destructor Documentation
KDateWidget::KDateWidget | ( | QWidget * | 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::~KDateWidget | ( | ) | [virtual] |
Member Function Documentation
void KDateWidget::changed | ( | QDate | ) | [signal] |
Emitted whenever the date of the widget is changed, either with setDate() or via user selection.
QDate KDateWidget::date | ( | ) | const |
Returns the currently selected date.
void KDateWidget::init | ( | const QDate & | date | ) | [protected] |
Definition at line 96 of file kdatewidget.cpp.
void KDateWidget::init | ( | ) | [protected] |
Definition at line 72 of file kdatewidget.cpp.
void KDateWidget::setDate | ( | QDate | date | ) |
void KDateWidget::slotDateChanged | ( | ) | [protected, slot] |
Definition at line 152 of file kdatewidget.cpp.
void KDateWidget::virtual_hook | ( | int | id, | |
void * | data | |||
) | [protected, virtual] |
Definition at line 174 of file kdatewidget.cpp.
Property Documentation
QDate KDateWidget::date [read, write] |
Definition at line 39 of file kdatewidget.h.
The documentation for this class was generated from the following files: