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

import org.kde.qt.Qt;
import org.kde.qt.QMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.QWidget;

/**

 Dialog in which a user can enter a filename or url. It is a dialog
 encapsulating KURLRequester. The API is derived from
 KFileDialog.
		@author Wilco Greven <greven@kde.org>
 
		@short Simple dialog to enter a filename/url.

*/
public class KURLRequesterDlg extends KDialogBase  {
	protected KURLRequesterDlg(Class dummy){super((Class) null);}
	public native QMetaObject metaObject();
	public native String className();
	/**	
		 Constructs a KURLRequesterDlg.
			@param url The url of the directory to start in. Use null
		               to start in the current working directory, or the last
		               directory where a file has been selected.
			@param modal Specifies whether the dialog should be opened as modal
		               or not.
		     		@short    Constructs a KURLRequesterDlg.
	*/
	public KURLRequesterDlg(String url, QWidget parent, String name, boolean modal) {
		super((Class) null);
		newKURLRequesterDlg(url,parent,name,modal);
	}
	private native void newKURLRequesterDlg(String url, QWidget parent, String name, boolean modal);
	public KURLRequesterDlg(String url, QWidget parent, String name) {
		super((Class) null);
		newKURLRequesterDlg(url,parent,name);
	}
	private native void newKURLRequesterDlg(String url, QWidget parent, String name);
	/**	
		 Constructs a KURLRequesterDlg.
			@param url The url of the directory to start in. Use null
		               to start in the current working directory, or the last
		               directory where a file has been selected.
			@param text Text of the label
			@param modal Specifies whether the dialog should be opened as modal
		                  or not.
		     		@short    Constructs a KURLRequesterDlg.
	*/
	public KURLRequesterDlg(String url, String text, QWidget parent, String name, boolean modal) {
		super((Class) null);
		newKURLRequesterDlg(url,text,parent,name,modal);
	}
	private native void newKURLRequesterDlg(String url, String text, QWidget parent, String name, boolean modal);
	public KURLRequesterDlg(String url, String text, QWidget parent, String name) {
		super((Class) null);
		newKURLRequesterDlg(url,text,parent,name);
	}
	private native void newKURLRequesterDlg(String url, String text, QWidget parent, String name);
	/**	
		 Returns the fully qualified filename.
		     		@short    Returns the fully qualified filename.
	*/
	public native KURL selectedURL();
	/**	
		 Returns a pointer to the file dialog used by the KURLRequester.
		     		@short    Returns a pointer to the file dialog used by the KURLRequester.
	*/
	public native KFileDialog fileDialog();
	/**	
		 Returns a pointer to the KURLRequester.
		     		@short    Returns a pointer to the KURLRequester.
	*/
	public native KURLRequester urlRequester();
	/**	
		 Creates a modal dialog, executes it and returns the selected URL.
			@param url This specifies the initial path of the input line.
			@param parent The widget the dialog will be centered on initially.
		     		@short    Creates a modal dialog, executes it and returns the selected URL.
	*/
	public static native KURL getURL(String url, QWidget parent, String caption);
	public static native KURL getURL(String url, QWidget parent);
	public static native KURL getURL(String url);
	public static native KURL getURL();
	/** 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();
}
