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

import org.trinitydesktop.qt.TQt;

public class TQPushButton extends TQButton  {
	protected TQPushButton(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	public TQPushButton(TQWidget parent, String name) {
		super((Class) null);
		newTQPushButton(parent,name);
	}
	private native void newTQPushButton(TQWidget parent, String name);
	public TQPushButton(TQWidget parent) {
		super((Class) null);
		newTQPushButton(parent);
	}
	private native void newTQPushButton(TQWidget parent);
	public TQPushButton(String text, TQWidget parent, String name) {
		super((Class) null);
		newTQPushButton(text,parent,name);
	}
	private native void newTQPushButton(String text, TQWidget parent, String name);
	public TQPushButton(String text, TQWidget parent) {
		super((Class) null);
		newTQPushButton(text,parent);
	}
	private native void newTQPushButton(String text, TQWidget parent);
	public TQPushButton(TQIconSet icon, String text, TQWidget parent, String name) {
		super((Class) null);
		newTQPushButton(icon,text,parent,name);
	}
	private native void newTQPushButton(TQIconSet icon, String text, TQWidget parent, String name);
	public TQPushButton(TQIconSet icon, String text, TQWidget parent) {
		super((Class) null);
		newTQPushButton(icon,text,parent);
	}
	private native void newTQPushButton(TQIconSet icon, String text, TQWidget parent);
	public native TQSize sizeHint();
	public native void move(int x, int y);
	public native void move(TQPoint p);
	public native void resize(int w, int h);
	public native void resize(TQSize arg1);
	public native void setGeometry(int x, int y, int w, int h);
	public native void setGeometry(TQRect arg1);
	public native void setToggleButton(boolean arg1);
	public native boolean autoDefault();
	public native void setAutoDefault(boolean autoDef);
	public native boolean isDefault();
	public native void setDefault(boolean def);
	public native void setIsMenuButton(boolean enable);
	public native boolean isMenuButton();
	public native void setPopup(TQPopupMenu popup);
	public native TQPopupMenu popup();
	public native void setIconSet(TQIconSet arg1);
	public native TQIconSet iconSet();
	public native void setFlat(boolean arg1);
	public native boolean isFlat();
	public native void setOn(boolean arg1);
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	protected native void drawButton(TQPainter arg1);
	protected native void drawButtonLabel(TQPainter arg1);
	protected native void focusInEvent(TQFocusEvent arg1);
	protected native void focusOutEvent(TQFocusEvent arg1);
	protected native void resizeEvent(TQResizeEvent arg1);
	protected native void updateMask();
	/** 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();
}
