/***************************************************************************
                            KNumInput.java -  description
                             -------------------
    begin                : Sun Jan 27 16:22:17 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd.
    email                : Richard_Dale@tipitina.demon.co.uk
    generated by         : duke@tipitina on Sun Jan 27 16:22:17 2002, 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.koala;

import org.kde.qt.*;
import java.util.*;
import java.lang.Error;

/**

 You need to inherit from this class if you want to implement KNumInput
 for a different variable type

 
 @short 
 You need to inherit from this class if you want to implement K*NumInput
 for a different variable type

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

	protected native void finalize() throws InternalError;
	public native void dispose();
	public native boolean isDisposed();

/** 
 Sets the text and alignment of the main description label.

 The vertical alignment flags have special meaning with this
 widget:

     
*/
	public native void setLabel( String label, int a);
	public native void setLabel( String label);

/** 
 Sets the spacing of tickmarks for the slider.

*/
	public native void setSteps( int minor, int major);

/** 
 Specifies that this widget may stretch horizontally, but is
 fixed vertically (like {@link QSpinBox} itself).
     
*/
	public native QSizePolicy sizePolicy();

/** 
 Returns a size which fits the contents of the control.

*/
	public native QSize sizeHint();
}
