class KURLRequesterDlg

# class KURLRequesterDlg | Simple dialog to enter a filename/url. More...
Definition | `#include <kurlrequesterdlg.h>`
Inherits | KDialogBase (kdeui) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- KURLRequesterDlg ( const QString& url, QWidget *parent, const char *name, bool modal = true )
- KURLRequesterDlg ( const QString& url, const QString& text, QWidget *parent, const char *name, bool modal=true )
- ~KURLRequesterDlg ()
- KURL selectedURL () const
- KFileDialog * fileDialog ()
- KURLRequester * urlRequester ()

#### Public Static Methods

- static KURL getURL (const QString& url = QString::null, QWidget *parent= 0, const QString& caption = QString::null)

## Detailed Description

Dialog in which a user can enter a filename or url. It is a dialog encapsulating KURLRequester. The API is derived from KFileDialog.

KURLRequesterDlg ( const QString& url, QWidget *parent, const char *name, bool modal = true ) | ### KURLRequesterDlg

Constructs a KURLRequesterDlg.

Parameters:

url | The url of the directory to start in. Use QString::null to start in the current working directory, or the last directory where a file has been selected.
modal | Specifies whether the dialog should be opened as modal or not.

KURLRequesterDlg ( const QString& url, const QString& text, QWidget *parent, const char *name, bool modal=true ) | ### KURLRequesterDlg

Constructs a KURLRequesterDlg.

Parameters:

url | The url of the directory to start in. Use QString::null to start in the current working directory, or the last directory where a file has been selected.
text | Text of the label
modal | Specifies whether the dialog should be opened as modal or not.

~KURLRequesterDlg () | ### ~KURLRequesterDlg

Destructs the dialog.

KURL selectedURL () | ### selectedURL

[const]

Returns the fully qualified filename.

KURL getURL (const QString& url = QString::null, QWidget *parent= 0, const QString& caption = QString::null) | ### getURL

[static]

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.

KFileDialog * fileDialog () | ### fileDialog

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

KURLRequester * urlRequester () | ### urlRequester

Returns a pointer to the KURLRequester.

- Author: Wilco Greven
- Generated: root on macppc.ports.openbsd.org on Sat Sep 6 10:37:17 2003, using kdoc 2.0a54.