//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;

import org.trinitydesktop.qt.TQt;

/**
 See {@link TQSpinBoxSignals} for signals emitted by TQSpinBox
*/
public class TQSpinBox extends TQWidget implements TQRangeControlInterface {
	protected TQSpinBox(Class dummy){super((Class) null);}
	public static final int UpDownArrows = 0;
	public static final int PlusMinus = 1;

	public native TQMetaObject metaObject();
	public native String className();
	public TQSpinBox(TQWidget parent, String name) {
		super((Class) null);
		newTQSpinBox(parent,name);
	}
	private native void newTQSpinBox(TQWidget parent, String name);
	public TQSpinBox(TQWidget parent) {
		super((Class) null);
		newTQSpinBox(parent);
	}
	private native void newTQSpinBox(TQWidget parent);
	public TQSpinBox() {
		super((Class) null);
		newTQSpinBox();
	}
	private native void newTQSpinBox();
	public TQSpinBox(int minValue, int maxValue, int step, TQWidget parent, String name) {
		super((Class) null);
		newTQSpinBox(minValue,maxValue,step,parent,name);
	}
	private native void newTQSpinBox(int minValue, int maxValue, int step, TQWidget parent, String name);
	public TQSpinBox(int minValue, int maxValue, int step, TQWidget parent) {
		super((Class) null);
		newTQSpinBox(minValue,maxValue,step,parent);
	}
	private native void newTQSpinBox(int minValue, int maxValue, int step, TQWidget parent);
	public TQSpinBox(int minValue, int maxValue, int step) {
		super((Class) null);
		newTQSpinBox(minValue,maxValue,step);
	}
	private native void newTQSpinBox(int minValue, int maxValue, int step);
	public TQSpinBox(int minValue, int maxValue) {
		super((Class) null);
		newTQSpinBox(minValue,maxValue);
	}
	private native void newTQSpinBox(int minValue, int maxValue);
	public native String text();
	public native String prefix();
	public native String suffix();
	public native String cleanText();
	public native void setSpecialValueText(String text);
	public native String specialValueText();
	public native void setWrapping(boolean on);
	public native boolean wrapping();
	public native void setButtonSymbols(int arg1);
	public native int buttonSymbols();
	public native void setValidator(TQValidator v);
	public native TQValidator validator();
	public native TQSize sizeHint();
	public native TQSize minimumSizeHint();
	public native int minValue();
	public native int maxValue();
	public native void setMinValue(int arg1);
	public native void setMaxValue(int arg1);
	public native int lineStep();
	public native void setLineStep(int arg1);
	public native int value();
	public native TQRect upRect();
	public native TQRect downRect();
	public native void setValue(int value);
	public native void setPrefix(String text);
	public native void setSuffix(String text);
	public native void stepUp();
	public native void stepDown();
	public native void setEnabled(boolean enabled);
	public native void selectAll();
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	protected native String mapValueToText(int value);
	protected native int mapTextToValue(boolean[] ok);
	protected native String currentValueText();
	protected native void updateDisplay();
	protected native void interpretText();
	protected native TQLineEdit editor();
	protected native void valueChange();
	protected native void rangeChange();
	public native boolean eventFilter(TQObject arg1, TQEvent ev);
	protected native void resizeEvent(TQResizeEvent ev);
	protected native void wheelEvent(TQWheelEvent arg1);
	protected native void leaveEvent(TQEvent arg1);
	public native void styleChange(TQStyle arg1);
	protected native void textChanged();
	/** 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();
	public native void addPage();
	public native void subtractPage();
	public native void addLine();
	public native void subtractLine();
	public native void setRange(int minValue, int maxValue);
	public native int pageStep();
	public native void setSteps(int line, int page);
	public native int bound(int arg1);
	protected native int positionFromValue(int val, int space);
	protected native int valueFromPosition(int pos, int space);
	protected native void directSetValue(int val);
	protected native int prevValue();
	protected native void stepChange();
}
