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

import org.trinitydesktop.qt.TQt;

/**
 See {@link TQSpinWidgetSignals} for signals emitted by TQSpinWidget
*/
public class TQSpinWidget extends TQWidget  {
	protected TQSpinWidget(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 TQSpinWidget(TQWidget parent, String name) {
		super((Class) null);
		newTQSpinWidget(parent,name);
	}
	private native void newTQSpinWidget(TQWidget parent, String name);
	public TQSpinWidget(TQWidget parent) {
		super((Class) null);
		newTQSpinWidget(parent);
	}
	private native void newTQSpinWidget(TQWidget parent);
	public TQSpinWidget() {
		super((Class) null);
		newTQSpinWidget();
	}
	private native void newTQSpinWidget();
	public native void setEditWidget(TQWidget widget);
	public native TQWidget editWidget();
	public native TQRect upRect();
	public native TQRect downRect();
	public native void setUpEnabled(boolean on);
	public native void setDownEnabled(boolean on);
	public native boolean isUpEnabled();
	public native boolean isDownEnabled();
	public native void setButtonSymbols(int bs);
	public native int buttonSymbols();
	public native void arrange();
	public native void stepUp();
	public native void stepDown();
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	protected native void mousePressEvent(TQMouseEvent e);
	protected native void resizeEvent(TQResizeEvent ev);
	protected native void mouseReleaseEvent(TQMouseEvent e);
	protected native void mouseMoveEvent(TQMouseEvent e);
	protected native void wheelEvent(TQWheelEvent arg1);
	public native void styleChange(TQStyle arg1);
	protected native void paintEvent(TQPaintEvent arg1);
	protected native void enableChanged(boolean old);
	protected native void windowActivationChange(boolean arg1);
	/** 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();
}
