/***************************************************************************
                            QDateTimeEdit.java -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 17:05:56 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.qt;

import java.util.*;
import java.lang.Error;

/**
 See {@link QDateTimeEditSignals} for signals emitted by QDateTimeEdit.

 See {@link QDateTimeEditEventHandling} for event handlers to override in subclasses of QDateTimeEdit.

*/
public class QDateTimeEdit extends QWidget  {
	protected QDateTimeEdit(Class dummy){super((Class) null);}

	private native void newQDateTimeEdit( QWidget parent, String name);
	public QDateTimeEdit( QWidget parent, String name) {
		super((Class) null);
		newQDateTimeEdit( parent, name);
	}
	private native void newQDateTimeEdit();
	public QDateTimeEdit() {
		super((Class) null);
		newQDateTimeEdit();
	}
	private native void newQDateTimeEdit( Calendar datetime, QWidget parent, String name);
	public QDateTimeEdit( Calendar datetime, QWidget parent, String name) {
		super((Class) null);
		newQDateTimeEdit( datetime, parent, name);
	}
	private native void newQDateTimeEdit( Calendar datetime);
	public QDateTimeEdit( Calendar datetime) {
		super((Class) null);
		newQDateTimeEdit( datetime);
	}
	protected native void finalize() throws InternalError;
	public native QSize sizeHint();
	public native QSize minimumSizeHint();
	public native void setDateTime( Calendar dt);
	public native Calendar dateTime();
	public native QDateEdit dateEdit();
	public native QTimeEdit timeEdit();
	public native void setAutoAdvance( boolean advance);
	public native boolean autoAdvance();
	protected native void init();
	protected native void layoutEditors();
	protected native void newValue( Calendar d);
	protected native void newValue( Date t);
}
