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

import org.trinitydesktop.qt.Qt;

public class TQRangeControl implements QtSupport, TQRangeControlInterface {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected TQRangeControl(Class dummy){}

	public TQRangeControl() {
		newTQRangeControl();
	}
	private native void newTQRangeControl();
	public TQRangeControl(int minValue, int maxValue, int lineStep, int pageStep, int value) {
		newTQRangeControl(minValue,maxValue,lineStep,pageStep,value);
	}
	private native void newTQRangeControl(int minValue, int maxValue, int lineStep, int pageStep, int value);
	public native int value();
	public native void setValue(int arg1);
	public native void addPage();
	public native void subtractPage();
	public native void addLine();
	public native void subtractLine();
	public native int minValue();
	public native int maxValue();
	public native void setRange(int minValue, int maxValue);
	public native void setMinValue(int minVal);
	public native void setMaxValue(int minVal);
	public native int lineStep();
	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 valueChange();
	protected native void rangeChange();
	protected native void stepChange();
	/** 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();
}
