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

import org.kde.qt.Qt;

public class QDialog extends QWidget  {
	protected QDialog(Class dummy){super((Class) null);}
	public static final int Rejected = 0;
	public static final int Accepted = 1;

	public native QMetaObject metaObject();
	public native String className();
	public QDialog(QWidget parent, String name, boolean modal, int f) {
		super((Class) null);
		newQDialog(parent,name,modal,f);
	}
	private native void newQDialog(QWidget parent, String name, boolean modal, int f);
	public QDialog(QWidget parent, String name, boolean modal) {
		super((Class) null);
		newQDialog(parent,name,modal);
	}
	private native void newQDialog(QWidget parent, String name, boolean modal);
	public QDialog(QWidget parent, String name) {
		super((Class) null);
		newQDialog(parent,name);
	}
	private native void newQDialog(QWidget parent, String name);
	public QDialog(QWidget parent) {
		super((Class) null);
		newQDialog(parent);
	}
	private native void newQDialog(QWidget parent);
	public QDialog() {
		super((Class) null);
		newQDialog();
	}
	private native void newQDialog();
	public native int result();
	public native void show();
	public native void hide();
	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 setOrientation(int orientation);
	public native int orientation();
	public native void setExtension(QWidget extension);
	public native QWidget extension();
	public native QSize sizeHint();
	public native QSize minimumSizeHint();
	public native void setSizeGripEnabled(boolean arg1);
	public native boolean isSizeGripEnabled();
	public native void setModal(boolean modal);
	public native boolean isModal();
	public native int exec();
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	protected native void setResult(int r);
	protected native void keyPressEvent(QKeyEvent arg1);
	protected native void closeEvent(QCloseEvent arg1);
	protected native void resizeEvent(QResizeEvent arg1);
	protected native void contextMenuEvent(QContextMenuEvent arg1);
	public native boolean eventFilter(QObject arg1, QEvent arg2);
	protected native void adjustPosition(QWidget arg1);
	protected native void done(int arg1);
	protected native void accept();
	protected native void reject();
	protected native void showExtension(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();
}
