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

import org.trinitydesktop.qt.Qt;
import java.util.Date;

/**
 See {@link TQTimeEditSignals} for signals emitted by TQTimeEdit
*/
public class TQTimeEdit extends TQDateTimeEditBase  {
	protected TQTimeEdit(Class dummy){super((Class) null);}
	public static final int Hours = 0x01;
	public static final int Minutes = 0x02;
	public static final int Seconds = 0x04;
	public static final int AMPM = 0x10;

	public native TQMetaObject metaObject();
	public native String className();
	public TQTimeEdit(TQWidget parent, String name) {
		super((Class) null);
		newTQTimeEdit(parent,name);
	}
	private native void newTQTimeEdit(TQWidget parent, String name);
	public TQTimeEdit(TQWidget parent) {
		super((Class) null);
		newTQTimeEdit(parent);
	}
	private native void newTQTimeEdit(TQWidget parent);
	public TQTimeEdit() {
		super((Class) null);
		newTQTimeEdit();
	}
	private native void newTQTimeEdit();
	public TQTimeEdit(Date time, TQWidget parent, String name) {
		super((Class) null);
		newTQTimeEdit(time,parent,name);
	}
	private native void newTQTimeEdit(Date time, TQWidget parent, String name);
	public TQTimeEdit(Date time, TQWidget parent) {
		super((Class) null);
		newTQTimeEdit(time,parent);
	}
	private native void newTQTimeEdit(Date time, TQWidget parent);
	public TQTimeEdit(Date time) {
		super((Class) null);
		newTQTimeEdit(time);
	}
	private native void newTQTimeEdit(Date time);
	public native TQSize sizeHint();
	public native TQSize minimumSizeHint();
	public native Date time();
	public native void setAutoAdvance(boolean advance);
	public native boolean autoAdvance();
	public native void setMinValue(Date d);
	public native Date minValue();
	public native void setMaxValue(Date d);
	public native Date maxValue();
	public native void setRange(Date min, Date max);
	public native String separator();
	public native void setSeparator(String s);
	public native int display();
	public native void setDisplay(int disp);
	public native void removeFirstNumber(int sec);
	public native void setTime(Date time);
	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 e);
	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 boolean outOfRange(int h, int m, int s);
	protected native void setHour(int h);
	protected native void setMinute(int m);
	protected native void setSecond(int s);
	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();
}
