.TH "KDateWidget" 3 "28 Jan 2004" "kdeui Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KDateWidget \- 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.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kdatewidget.h>\fP
.PP
Inherits \fBQWidget\fP.
.PP
.SS "Signals"

.in +1c
.ti -1c
.RI "void \fBchanged\fP (\fBQDate\fP)"
.br
.RI "\fIEmitted whenever the date of the widget is changed, either with \fBsetDate\fP() or via user selection. \fP"
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKDateWidget\fP (\fBQWidget\fP *parent=0, const  char *name=0)"
.br
.RI "\fIConstructs a date selection widget. \fP"
.ti -1c
.RI "\fBKDateWidget\fP (\fBQDate\fP date, \fBQWidget\fP *parent=0, const  char *name=0)"
.br
.RI "\fIConstructs a date selection widget with the initial date set to \fCdate\fP. \fP"
.ti -1c
.RI "virtual \fB~KDateWidget\fP ()"
.br
.RI "\fIDestructs the date selection widget. \fP"
.ti -1c
.RI "\fBQDate\fP \fBdate\fP () const "
.br
.RI "\fIReturns the currently selected date. \fP"
.ti -1c
.RI "void \fBsetDate\fP (\fBQDate\fP date)"
.br
.RI "\fIChanges the selected date to \fCdate\fP. \fP"
.in -1c
.SS "Protected Slots"

.in +1c
.ti -1c
.RI "void \fBslotDateChanged\fP ()"
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "void \fBinit\fP ()"
.br
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.in -1c
.SH "Detailed Description"
.PP 
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. 

\fBSee also:\fP
.RS 4
\fBKDatePicker\fP
.RE
.PP
.PP
\fBVersion:\fP
.RS 4
\fBId\fP.RS 4
\fBkdatewidget.h\fP,v 1.3 2002/03/04 00:51:47 lunakl Exp 
.RE
.PP
.RE
.PP

.PP
Definition at line 33 of file kdatewidget.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KDateWidget::KDateWidget (\fBQWidget\fP * parent = 0, const char * name = 0)"
.PP
Constructs a date selection widget. Definition at line 53 of file kdatewidget.cpp.
.PP
References KStdAccel::name(), and setDate().
.SS "KDateWidget::KDateWidget (\fBQDate\fP date, \fBQWidget\fP * parent = 0, const char * name = 0)"
.PP
Constructs a date selection widget with the initial date set to \fCdate\fP. Definition at line 60 of file kdatewidget.cpp.
.PP
References KStdAccel::name(), and setDate().
.SS "KDateWidget::~\fBKDateWidget\fP ()\fC [virtual]\fP"
.PP
Destructs the date selection widget. Definition at line 86 of file kdatewidget.cpp.
.SH "Member Function Documentation"
.PP 
.SS "\fBQDate\fP KDateWidget::date () const"
.PP
Returns the currently selected date. Definition at line 109 of file kdatewidget.cpp.
.SS "void KDateWidget::setDate (\fBQDate\fP date)"
.PP
Changes the selected date to \fCdate\fP. Definition at line 90 of file kdatewidget.cpp.
.PP
References changed(), QDate::day(), QDate::daysInMonth(), QDate::month(), and QDate::year().
.PP
Referenced by KDateWidget().
.SS "void KDateWidget::changed (\fBQDate\fP)\fC [signal]\fP"
.PP
Emitted whenever the date of the widget is changed, either with \fBsetDate\fP() or via user selection. Referenced by setDate().

.SH "Author"
.PP 
Generated automatically by Doxygen for kdeui Library from the source code.
