/***************************************************************************
                            qt_QDateEdit.h -  description
                             -------------------
    begin                : Tue Nov 20 20:51:20 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Nov 20 20:51:20 2001, 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 QT_QDATEEDIT
#define QT_QDATEEDIT

#include <qtc/qtc_types.h>

#define QDATEEDIT_DMY	0
#define QDATEEDIT_MDY	1
#define QDATEEDIT_YMD	2
#define QDATEEDIT_YDM	3
qt_QDateEdit * qt_new_QDateEdit(qt_QWidget * parent, char* name);
qt_QDateEdit * qt_new_QDateEdit1(qt_QDate * date, qt_QWidget * parent, char* name);
void qt_del_QDateEdit( qt_QDateEdit* p );
qt_QSize * qt_QDateEdit_sizeHint(qt_QDateEdit* instPointer);
qt_QSize * qt_QDateEdit_minimumSizeHint(qt_QDateEdit* instPointer);
void qt_QDateEdit_setDate(qt_QDateEdit* instPointer,qt_QDate * date);
qt_QDate * qt_QDateEdit_date(qt_QDateEdit* instPointer);
void qt_QDateEdit_setOrder(qt_QDateEdit* instPointer,int order);
int qt_QDateEdit_order(qt_QDateEdit* instPointer);
void qt_QDateEdit_setAutoAdvance(qt_QDateEdit* instPointer,int advance);
int qt_QDateEdit_autoAdvance(qt_QDateEdit* instPointer);
void qt_QDateEdit_setMinValue(qt_QDateEdit* instPointer,qt_QDate * d);
qt_QDate * qt_QDateEdit_minValue(qt_QDateEdit* instPointer);
void qt_QDateEdit_setMaxValue(qt_QDateEdit* instPointer,qt_QDate * d);
qt_QDate * qt_QDateEdit_maxValue(qt_QDateEdit* instPointer);
void qt_QDateEdit_setRange(qt_QDateEdit* instPointer,qt_QDate * min, qt_QDate * max);
qt_QString * qt_QDateEdit_separator(qt_QDateEdit* instPointer);
void qt_QDateEdit_setSeparator(qt_QDateEdit* instPointer,qt_QString * s);
int qt_QDateEdit_event(qt_QDateEdit* instPointer,qt_QEvent * e);
void qt_QDateEdit_stepUp(qt_QDateEdit* instPointer);
void qt_QDateEdit_stepDown(qt_QDateEdit* instPointer);
qt_QString * qt_QDateEdit_sectionFormattedText(qt_QDateEdit* instPointer,int sec);
void qt_QDateEdit_addNumber(qt_QDateEdit* instPointer,int sec, int num);
void qt_QDateEdit_removeLastNumber(qt_QDateEdit* instPointer,int sec);
int qt_QDateEdit_setFocusSection(qt_QDateEdit* instPointer,int s);
void qt_QDateEdit_setYear(qt_QDateEdit* instPointer,int year);
void qt_QDateEdit_setMonth(qt_QDateEdit* instPointer,int month);
void qt_QDateEdit_setDay(qt_QDateEdit* instPointer,int day);
void qt_QDateEdit_fix(qt_QDateEdit* instPointer);
int qt_QDateEdit_outOfRange(qt_QDateEdit* instPointer,int y, int m, int d);
void qt_QDateEdit_updateButtons(qt_QDateEdit* instPointer);

#endif
