//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.Calendar;
import org.trinitydesktop.qt.TQWidget;
import org.trinitydesktop.qt.TQWidget;

/**

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

		@version $Id$

		@short A combination of a date and a time selection widget.
		@see KDateWidget

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