/***************************************************************************
                          kdatedialog.h  -  description
                             -------------------
    begin                : Fri Aug 24 2001
    copyright            : (C) 2001 by Jeffrey Yu
    email                : wehjin@yahoo.com
 ***************************************************************************/

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

#ifndef KDATEDIALOG_H
#define KDATEDIALOG_H

#include <qwidget.h>
#include <qdatetime.h>
#include <kdialogbase.h>

/**Dialog used to pick a date
  *@author Jeffrey Yu
  */

class KDateDialog : public KDialogBase  {
   Q_OBJECT
public: 
	KDateDialog(QWidget *parent=0, const char *name=0);
	~KDateDialog();
	
	/** Retrieve the selected date */
	QDate date();
	/** Specify the selected date */
	void date(QDate date);
};

#endif
