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

import org.trinitydesktop.qt.Qt;

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

	public native TQMetaObject metaObject();
	public native String className();
	public TQDialog(TQWidget parent, String name, boolean modal, int f) {
		super((Class) null);
		newTQDialog(parent,name,modal,f);
	}
	private native void newTQDialog(TQWidget parent, String name, boolean modal, int f);
	public TQDialog(TQWidget parent, String name, boolean modal) {
		super((Class) null);
		newTQDialog(parent,name,modal);
	}
	private native void newTQDialog(TQWidget parent, String name, boolean modal);
	public TQDialog(TQWidget parent, String name) {
		super((Class) null);
		newTQDialog(parent,name);
	}
	private native void newTQDialog(TQWidget parent, String name);
	public TQDialog(TQWidget parent) {
		super((Class) null);
		newTQDialog(parent);
	}
	private native void newTQDialog(TQWidget parent);
	public TQDialog() {
		super((Class) null);
		newTQDialog();
	}
	private native void newTQDialog();
	public native int result();
	public native void show();
	public native void hide();
	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 setOrientation(int orientation);
	public native int orientation();
	public native void setExtension(TQWidget extension);
	public native TQWidget extension();
	public native TQSize sizeHint();
	public native TQSize 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(TQKeyEvent arg1);
	protected native void closeEvent(TQCloseEvent arg1);
	protected native void resizeEvent(TQResizeEvent arg1);
	protected native void contextMenuEvent(TQContextMenuEvent arg1);
	public native boolean eventFilter(TQObject arg1, TQEvent arg2);
	protected native void adjustPosition(TQWidget 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();
}
