org.kde.koala

Class KURLRequesterDlg

public class KURLRequesterDlg extends KDialogBase

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

UNKNOWN: Simple dialog to enter a filename/url.

Constructor Summary
protected KURLRequesterDlg(Class dummy)
KURLRequesterDlg(String url, QWidget parent, String name, boolean modal)
Constructs a KURLRequesterDlg.
KURLRequesterDlg(String url, QWidget parent, String name)
KURLRequesterDlg(String url, String text, QWidget parent, String name, boolean modal)
Constructs a KURLRequesterDlg.
KURLRequesterDlg(String url, String text, QWidget parent, String name)
Method Summary
StringclassName()
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
KFileDialogfileDialog()
Returns a pointer to the file dialog used by the KURLRequester.
protected voidfinalize()
Deletes the wrapped C++ instance
static KURLgetURL(String url, QWidget parent, String caption)
Creates a modal dialog, executes it and returns the selected URL.
static KURLgetURL(String url, QWidget parent)
static KURLgetURL(String url)
static KURLgetURL()
booleanisDisposed()
Has the wrapped C++ instance been deleted?
QMetaObjectmetaObject()
KURLselectedURL()
Returns the fully qualified filename.
KURLRequesterurlRequester()
Returns a pointer to the KURLRequester.

Constructor Detail

KURLRequesterDlg

protected KURLRequesterDlg(Class dummy)

KURLRequesterDlg

public KURLRequesterDlg(String url, QWidget parent, String name, boolean modal)
Constructs a KURLRequesterDlg.

Parameters: 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. parent The parent object of this widget. name The name of this widget. modal Specifies whether the dialog should be opened as modal or not.

UNKNOWN: Constructs a KURLRequesterDlg.

KURLRequesterDlg

public KURLRequesterDlg(String url, QWidget parent, String name)

KURLRequesterDlg

public KURLRequesterDlg(String url, String text, QWidget parent, String name, boolean modal)
Constructs a KURLRequesterDlg.

Parameters: 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. text Text of the label parent The parent object of this widget. name The name of this widget. modal Specifies whether the dialog should be opened as modal or not.

UNKNOWN: Constructs a KURLRequesterDlg.

KURLRequesterDlg

public KURLRequesterDlg(String url, String text, QWidget parent, String name)

Method Detail

className

public String className()

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()

fileDialog

public KFileDialog fileDialog()
Returns a pointer to the file dialog used by the KURLRequester.

UNKNOWN: Returns a pointer to the file dialog used by the KURLRequester.

finalize

protected void finalize()
Deletes the wrapped C++ instance

getURL

public static KURL getURL(String url, QWidget parent, String caption)
Creates a modal dialog, executes it and returns the selected URL.

Parameters: url This specifies the initial path of the input line. parent The widget the dialog will be centered on initially. caption The caption to use for the dialog.

UNKNOWN: Creates a modal dialog, executes it and returns the selected URL.

getURL

public static KURL getURL(String url, QWidget parent)

getURL

public static KURL getURL(String url)

getURL

public static KURL getURL()

isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?

metaObject

public QMetaObject metaObject()

selectedURL

public KURL selectedURL()
Returns the fully qualified filename.

UNKNOWN: Returns the fully qualified filename.

urlRequester

public KURLRequester urlRequester()
Returns a pointer to the KURLRequester.

UNKNOWN: Returns a pointer to the KURLRequester.