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

import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQWidget;

/**

 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 TQMetaObject 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 parent The parent object of this widget.
			@param name The name of this widget.
			@param modal Specifies whether the dialog should be opened as modal
		               or not.
		     		@short    Constructs a KURLRequesterDlg.
	*/
	public KURLRequesterDlg(String url, TQWidget parent, String name, boolean modal) {
		super((Class) null);
		newKURLRequesterDlg(url,parent,name,modal);
	}
	private native void newKURLRequesterDlg(String url, TQWidget parent, String name, boolean modal);
	public KURLRequesterDlg(String url, TQWidget parent, String name) {
		super((Class) null);
		newKURLRequesterDlg(url,parent,name);
	}
	private native void newKURLRequesterDlg(String url, TQWidget 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 parent The parent object of this widget.
			@param name The name of this widget.
			@param modal Specifies whether the dialog should be opened as modal
		                  or not.
		     		@short    Constructs a KURLRequesterDlg.
	*/
	public KURLRequesterDlg(String url, String text, TQWidget parent, String name, boolean modal) {
		super((Class) null);
		newKURLRequesterDlg(url,text,parent,name,modal);
	}
	private native void newKURLRequesterDlg(String url, String text, TQWidget parent, String name, boolean modal);
	public KURLRequesterDlg(String url, String text, TQWidget parent, String name) {
		super((Class) null);
		newKURLRequesterDlg(url,text,parent,name);
	}
	private native void newKURLRequesterDlg(String url, String text, TQWidget 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.
			@param caption The caption to use for the dialog.
		     		@short    Creates a modal dialog, executes it and returns the selected URL.
	*/
	public static native KURL getURL(String url, TQWidget parent, String caption);
	public static native KURL getURL(String url, TQWidget 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();
}
