//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;
import java.util.Calendar;

/**
 See {@link QDateEditSignals} for signals emitted by QDateEdit
*/
public class QDateEdit extends QDateTimeEditBase  {
	protected QDateEdit(Class dummy){super((Class) null);}
	public static final int DMY = 0;
	public static final int MDY = 1;
	public static final int YMD = 2;
	public static final int YDM = 3;

	public native QMetaObject metaObject();
	public native String className();
	public QDateEdit(QWidget parent, String name) {
		super((Class) null);
		newQDateEdit(parent,name);
	}
	private native void newQDateEdit(QWidget parent, String name);
	public QDateEdit(QWidget parent) {
		super((Class) null);
		newQDateEdit(parent);
	}
	private native void newQDateEdit(QWidget parent);
	public QDateEdit() {
		super((Class) null);
		newQDateEdit();
	}
	private native void newQDateEdit();
	public QDateEdit(Calendar date, QWidget parent, String name) {
		super((Class) null);
		newQDateEdit(date,parent,name);
	}
	private native void newQDateEdit(Calendar date, QWidget parent, String name);
	public QDateEdit(Calendar date, QWidget parent) {
		super((Class) null);
		newQDateEdit(date,parent);
	}
	private native void newQDateEdit(Calendar date, QWidget parent);
	public QDateEdit(Calendar date) {
		super((Class) null);
		newQDateEdit(date);
	}
	private native void newQDateEdit(Calendar date);
	public native QSize sizeHint();
	public native QSize minimumSizeHint();
	public native Calendar date();
	public native void setOrder(int order);
	public native int order();
	public native void setAutoAdvance(boolean advance);
	public native boolean autoAdvance();
	public native void setMinValue(Calendar d);
	public native Calendar minValue();
	public native void setMaxValue(Calendar d);
	public native Calendar maxValue();
	public native void setRange(Calendar min, Calendar max);
	public native String separator();
	public native void setSeparator(String s);
	public native void removeFirstNumber(int sec);
	public native void setDate(Calendar date);
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	public native boolean event(QEvent e);
	protected native void timerEvent(QTimerEvent arg1);
	protected native void resizeEvent(QResizeEvent arg1);
	public native void stepUp();
	public native void stepDown();
	public native String sectionFormattedText(int sec);
	public native void addNumber(int sec, int num);
	public native void removeLastNumber(int sec);
	public native boolean setFocusSection(int s);
	protected native void setYear(int year);
	protected native void setMonth(int month);
	protected native void setDay(int day);
	protected native void fix();
	protected native boolean outOfRange(int y, int m, int d);
	protected native void updateButtons();
	/** Deletes the wrapped C++ instance */
	protected native void finalize() throws InternalError;
	/** Delete the wrapped C++ instance ahead of finalize() */
	public native void dispose();
	/** Has the wrapped C++ instance been deleted? */
	public native boolean isDisposed();
}
