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

import org.kde.qt.Qt;
import org.kde.qt.QMetaObject;
import org.kde.qt.QtSupport;
import java.util.Calendar;
import org.kde.qt.QWidget;
import org.kde.qt.QWidget;

/**

 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: KDateTimeWidget.java 473384 2005-10-23 14:17:09Z rdale $

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

*/
public class KDateTimeWidget extends QWidget  {
	protected KDateTimeWidget(Class dummy){super((Class) null);}
	public native QMetaObject metaObject();
	public native String className();
	/**	
		 Constructs a date and time selection widget.
		   		@short    Constructs a date and time selection widget.
	*/
	public KDateTimeWidget(QWidget parent, String name) {
		super((Class) null);
		newKDateTimeWidget(parent,name);
	}
	private native void newKDateTimeWidget(QWidget parent, String name);
	public KDateTimeWidget(QWidget parent) {
		super((Class) null);
		newKDateTimeWidget(parent);
	}
	private native void newKDateTimeWidget(QWidget 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, QWidget parent, String name) {
		super((Class) null);
		newKDateTimeWidget(datetime,parent,name);
	}
	private native void newKDateTimeWidget(Calendar datetime, QWidget parent, String name);
	public KDateTimeWidget(Calendar datetime, QWidget parent) {
		super((Class) null);
		newKDateTimeWidget(datetime,parent);
	}
	private native void newKDateTimeWidget(Calendar datetime, QWidget 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();
}
