/***************************************************************************
                            kde_KDateWidget.h -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef KDE_KDATEWIDGET
#define KDE_KDATEWIDGET

#include <qtc/qtc_types.h>

#include <kdec/kde_types.h>

/**

 This widget can be used to display or allow user selection of a date.

 @version $Id: kde_KDateWidget.h,v 1.1 2002/02/21 00:43:09 rdale Exp $

 @short A pushbutton to display or allow user selection of a date.

*/

/** 
 Constructs a date selection widget.
   
*/
kde_KDateWidget * kde_new_KDateWidget(qt_QWidget * parent, char* name);

/** 
 Constructs a date selection widget with the initial date set to @p date.
   
*/
kde_KDateWidget * kde_new_KDateWidget1(qt_QDate * date, qt_QWidget * parent, char* name);

/** 
 Destructs the date selection widget.
   
*/
void kde_del_KDateWidget( kde_KDateWidget* p );

/** 
 Returns the currently selected date.
   
*/
qt_QDate * kde_KDateWidget_date(kde_KDateWidget* instPointer);

/** 
 Changes the selected date to @p date.
   
*/
void kde_KDateWidget_setDate(kde_KDateWidget* instPointer,qt_QDate * date);
void kde_KDateWidget_init(kde_KDateWidget* instPointer);
void kde_KDateWidget_slotDateChanged(kde_KDateWidget* instPointer);

#endif
