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

import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
import java.util.Date;
import org.trinitydesktop.qt.TQWidget;
import org.trinitydesktop.qt.TQWidget;

/**

 This widget can be used to display or allow user selection of time.
 \image html ktimewidget.png "KDE Time Widget"
 See {@link KTimeWidgetSignals} for signals emitted by KTimeWidget
		@author Hans Petter Bieker <bieker@kde.org>

		@short A time selection widget.

*/
public class KTimeWidget extends TQWidget  {
	protected KTimeWidget(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	/**
		 Constructs a time selection widget.
		   		@short    Constructs a time selection widget.
	*/
	public KTimeWidget(TQWidget parent, String name) {
		super((Class) null);
		newKTimeWidget(parent,name);
	}
	private native void newKTimeWidget(TQWidget parent, String name);
	public KTimeWidget(TQWidget parent) {
		super((Class) null);
		newKTimeWidget(parent);
	}
	private native void newKTimeWidget(TQWidget parent);
	public KTimeWidget() {
		super((Class) null);
		newKTimeWidget();
	}
	private native void newKTimeWidget();
	/**
		 Constructs a time selection widget with the initial time set to
		 <code>time.</code>
		   		@short    Constructs a time selection widget with the initial time set to  <code>time.</code>
	*/
	public KTimeWidget(Date time, TQWidget parent, String name) {
		super((Class) null);
		newKTimeWidget(time,parent,name);
	}
	private native void newKTimeWidget(Date time, TQWidget parent, String name);
	public KTimeWidget(Date time, TQWidget parent) {
		super((Class) null);
		newKTimeWidget(time,parent);
	}
	private native void newKTimeWidget(Date time, TQWidget parent);
	public KTimeWidget(Date time) {
		super((Class) null);
		newKTimeWidget(time);
	}
	private native void newKTimeWidget(Date time);
	/**
		 Returns the currently selected time.
		   		@short    Returns the currently selected time.
	*/
	public native Date time();
	/**
		 Changes the selected time to <code>time.</code>
		   		@short    Changes the selected time to <code>time.</code>
	*/
	public native void setTime(Date time);
	/** 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();
}
