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

import org.trinitydesktop.qt.TQt;

/**
 See {@link TQSliderSignals} for signals emitted by TQSlider
*/
public class TQSlider extends TQWidget implements TQRangeControlInterface {
	protected TQSlider(Class dummy){super((Class) null);}
	public static final int NoMarks = 0;
	public static final int Above = 1;
	public static final int Left = Above;
	public static final int Below = 2;
	public static final int Right = Below;
	public static final int Both = 3;

	public native TQMetaObject metaObject();
	public native String className();
	public TQSlider(TQWidget parent, String name) {
		super((Class) null);
		newTQSlider(parent,name);
	}
	private native void newTQSlider(TQWidget parent, String name);
	public TQSlider(TQWidget parent) {
		super((Class) null);
		newTQSlider(parent);
	}
	private native void newTQSlider(TQWidget parent);
	public TQSlider(int arg1, TQWidget parent, String name) {
		super((Class) null);
		newTQSlider(arg1,parent,name);
	}
	private native void newTQSlider(int arg1, TQWidget parent, String name);
	public TQSlider(int arg1, TQWidget parent) {
		super((Class) null);
		newTQSlider(arg1,parent);
	}
	private native void newTQSlider(int arg1, TQWidget parent);
	public TQSlider(int minValue, int maxValue, int pageStep, int value, int arg5, TQWidget parent, String name) {
		super((Class) null);
		newTQSlider(minValue,maxValue,pageStep,value,arg5,parent,name);
	}
	private native void newTQSlider(int minValue, int maxValue, int pageStep, int value, int arg5, TQWidget parent, String name);
	public TQSlider(int minValue, int maxValue, int pageStep, int value, int arg5, TQWidget parent) {
		super((Class) null);
		newTQSlider(minValue,maxValue,pageStep,value,arg5,parent);
	}
	private native void newTQSlider(int minValue, int maxValue, int pageStep, int value, int arg5, TQWidget parent);
	public native void setOrientation(int arg1);
	public native int orientation();
	public native void setTracking(boolean enable);
	public native boolean tracking();
	public native void setPalette(TQPalette arg1);
	public native int sliderStart();
	public native TQRect sliderRect();
	public native TQSize sizeHint();
	public native void setSizePolicy(TQSizePolicy sp);
	public native void setSizePolicy(int hor, int ver, boolean hfw);
	public native void setSizePolicy(int hor, int ver);
	public native TQSizePolicy sizePolicy();
	public native TQSize minimumSizeHint();
	public native void setTickmarks(int arg1);
	public native int tickmarks();
	public native void setTickInterval(int arg1);
	public native int tickInterval();
	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 int pageStep();
	public native void setLineStep(int arg1);
	public native void setPageStep(int arg1);
	public native int value();
	public native void setValue(int arg1);
	public native void addStep();
	public native void subtractStep();
	public native void addLine();
	public native void subtractLine();
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	protected native void resizeEvent(TQResizeEvent arg1);
	protected native void paintEvent(TQPaintEvent arg1);
	protected native void keyPressEvent(TQKeyEvent arg1);
	protected native void mousePressEvent(TQMouseEvent arg1);
	protected native void mouseReleaseEvent(TQMouseEvent arg1);
	protected native void mouseMoveEvent(TQMouseEvent arg1);
	protected native void wheelEvent(TQWheelEvent arg1);
	protected native void focusInEvent(TQFocusEvent e);
	protected native void focusOutEvent(TQFocusEvent e);
	public native void styleChange(TQStyle arg1);
	protected native void valueChange();
	protected native void rangeChange();
	/** 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 setRange(int minValue, int maxValue);
	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();
}
