/***************************************************************************
                            QTimeEdit.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 QTimeEditSignals} for signals emitted by QTimeEdit.

 See {@link QTimeEditEventHandling} for event handlers to override in subclasses of QTimeEdit.

*/
public class QTimeEdit extends QDateTimeEditBase  {
	protected QTimeEdit(Class dummy){super((Class) null);}

	private native void newQTimeEdit( QWidget parent, String name);
	public QTimeEdit( QWidget parent, String name) {
		super((Class) null);
		newQTimeEdit( parent, name);
	}
	private native void newQTimeEdit();
	public QTimeEdit() {
		super((Class) null);
		newQTimeEdit();
	}
	private native void newQTimeEdit( Date time, QWidget parent, String name);
	public QTimeEdit( Date time, QWidget parent, String name) {
		super((Class) null);
		newQTimeEdit( time, parent, name);
	}
	private native void newQTimeEdit( Date time);
	public QTimeEdit( Date time) {
		super((Class) null);
		newQTimeEdit( time);
	}
	protected native void finalize() throws InternalError;
	public native QSize sizeHint();
	public native QSize minimumSizeHint();
	public native void setTime( Date time);
	public native Date time();
	public native void setAutoAdvance( boolean advance);
	public native boolean autoAdvance();
	public native void setMinValue( Date d);
	public native Date minValue();
	public native void setMaxValue( Date d);
	public native Date maxValue();
	public native void setRange( Date min, Date max);
	public native String separator();
	public native void setSeparator( String s);
	public native boolean event( QEvent e);
	public native void stepUp();
	public native void stepDown();
	public native String sectionFormattedText( int sec);
	public native void addNumber( int sec, int num);
	public native void removeLastNumber( int sec);
	public native boolean setFocusSection( int s);
	protected native boolean outOfRange( int h, int m, int s);
	protected native void setHour( int h);
	protected native void setMinute( int m);
	protected native void setSecond( int s);
	protected native void updateButtons();
}
