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

import org.trinitydesktop.qt.TQt;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
import java.util.Calendar;
import org.trinitydesktop.qt.TQWidget;
import org.trinitydesktop.qt.TQWidget;

/**

 This widget can be used to display or allow user selection of a date.
 See {@link KDateWidgetSignals} for signals emitted by KDateWidget
		@version $Id$

		@short A pushbutton to display or allow user selection of a date.
		@see KDatePicker

*/
public class KDateWidget extends TQWidget  {
	protected KDateWidget(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	/**
		 Constructs a date selection widget.
		   		@short    Constructs a date selection widget.
	*/
	public KDateWidget(TQWidget parent, String name) {
		super((Class) null);
		newKDateWidget(parent,name);
	}
	private native void newKDateWidget(TQWidget parent, String name);
	public KDateWidget(TQWidget parent) {
		super((Class) null);
		newKDateWidget(parent);
	}
	private native void newKDateWidget(TQWidget parent);
	public KDateWidget() {
		super((Class) null);
		newKDateWidget();
	}
	private native void newKDateWidget();
	/**
		 Constructs a date selection widget with the initial date set to <code>date.</code>
		   		@short    Constructs a date selection widget with the initial date set to <code>date.</code>
	*/
	public KDateWidget(Calendar date, TQWidget parent, String name) {
		super((Class) null);
		newKDateWidget(date,parent,name);
	}
	private native void newKDateWidget(Calendar date, TQWidget parent, String name);
	public KDateWidget(Calendar date, TQWidget parent) {
		super((Class) null);
		newKDateWidget(date,parent);
	}
	private native void newKDateWidget(Calendar date, TQWidget parent);
	public KDateWidget(Calendar date) {
		super((Class) null);
		newKDateWidget(date);
	}
	private native void newKDateWidget(Calendar date);
	/**
		 Returns the currently selected date.
		   		@short    Returns the currently selected date.
	*/
	public native Calendar date();
	/**
		 Changes the selected date to <code>date.</code>
		   		@short    Changes the selected date to <code>date.</code>
	*/
	public native void setDate(Calendar date);
	protected native void init();
	protected native void init(Calendar arg1);
	protected native void slotDateChanged();
	/** 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();
}
