/***************************************************************************
                            QDialog.java -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 17:05:56 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.qt;

import java.util.*;
import java.lang.Error;

/**
 See {@link QDialogSignals} for signals emitted by QDialog.

 See {@link QDialogEventHandling} for event handlers to override in subclasses of QDialog.

*/
public class QDialog extends QWidget  {
	protected QDialog(Class dummy){super((Class) null);}

	private native void newQDialog( QWidget parent, String name, boolean modal, int f);
	public QDialog( QWidget parent, String name, boolean modal, int f) {
		super((Class) null);
		newQDialog( parent, name, modal, f);
	}
	public QDialog( QWidget parent, String name, boolean modal) {
		this( parent, name, modal, 0);
	}
	private native void newQDialog();
	public QDialog() {
		super((Class) null);
		newQDialog();
	}
	protected native void finalize() throws InternalError;
	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 int exec();
	protected native void setResult( int r);
	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);
	public static final int Rejected = 0;
	public static final int Accepted = 1;
}
