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

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

/**
 See {@link TQDateEditSignals} for signals emitted by TQDateEdit
*/
public class TQDateEdit extends TQDateTimeEditBase  {
	protected TQDateEdit(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 TQMetaObject metaObject();
	public native String className();
	public TQDateEdit(TQWidget parent, String name) {
		super((Class) null);
		newTQDateEdit(parent,name);
	}
	private native void newTQDateEdit(TQWidget parent, String name);
	public TQDateEdit(TQWidget parent) {
		super((Class) null);
		newTQDateEdit(parent);
	}
	private native void newTQDateEdit(TQWidget parent);
	public TQDateEdit() {
		super((Class) null);
		newTQDateEdit();
	}
	private native void newTQDateEdit();
	public TQDateEdit(Calendar date, TQWidget parent, String name) {
		super((Class) null);
		newTQDateEdit(date,parent,name);
	}
	private native void newTQDateEdit(Calendar date, TQWidget parent, String name);
	public TQDateEdit(Calendar date, TQWidget parent) {
		super((Class) null);
		newTQDateEdit(date,parent);
	}
	private native void newTQDateEdit(Calendar date, TQWidget parent);
	public TQDateEdit(Calendar date) {
		super((Class) null);
		newTQDateEdit(date);
	}
	private native void newTQDateEdit(Calendar date);
	public native TQSize sizeHint();
	public native TQSize 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(TQEvent e);
	protected native void timerEvent(TQTimerEvent arg1);
	protected native void resizeEvent(TQResizeEvent 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();
}