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

import org.kde.qt.Qt;

public class QPushButton extends QButton  {
	protected QPushButton(Class dummy){super((Class) null);}
	public native QMetaObject metaObject();
	public native String className();
	public QPushButton(QWidget parent, String name) {
		super((Class) null);
		newQPushButton(parent,name);
	}
	private native void newQPushButton(QWidget parent, String name);
	public QPushButton(QWidget parent) {
		super((Class) null);
		newQPushButton(parent);
	}
	private native void newQPushButton(QWidget parent);
	public QPushButton(String text, QWidget parent, String name) {
		super((Class) null);
		newQPushButton(text,parent,name);
	}
	private native void newQPushButton(String text, QWidget parent, String name);
	public QPushButton(String text, QWidget parent) {
		super((Class) null);
		newQPushButton(text,parent);
	}
	private native void newQPushButton(String text, QWidget parent);
	public QPushButton(QIconSet icon, String text, QWidget parent, String name) {
		super((Class) null);
		newQPushButton(icon,text,parent,name);
	}
	private native void newQPushButton(QIconSet icon, String text, QWidget parent, String name);
	public QPushButton(QIconSet icon, String text, QWidget parent) {
		super((Class) null);
		newQPushButton(icon,text,parent);
	}
	private native void newQPushButton(QIconSet icon, String text, QWidget parent);
	public native QSize sizeHint();
	public native void move(int x, int y);
	public native void move(QPoint p);
	public native void resize(int w, int h);
	public native void resize(QSize arg1);
	public native void setGeometry(int x, int y, int w, int h);
	public native void setGeometry(QRect 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(QPopupMenu popup);
	public native QPopupMenu popup();
	public native void setIconSet(QIconSet arg1);
	public native QIconSet 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(QPainter arg1);
	protected native void drawButtonLabel(QPainter arg1);
	protected native void focusInEvent(QFocusEvent arg1);
	protected native void focusOutEvent(QFocusEvent arg1);
	protected native void resizeEvent(QResizeEvent 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();
}
