class KURLRequesterDlg

Simple dialog to enter a filename/url. More...

Definition#include <kurlrequesterdlg.h>
InheritsKDialogBase (kdeui) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods


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:
urlThe 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.
modalSpecifies 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:
urlThe 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.
textText of the label
modalSpecifies 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:
urlThis specifies the initial path of the input line.
parentThe widget the dialog will be centered on initially.

KFileDialog *  fileDialog ()

fileDialog

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

KURLRequesterurlRequester ()

urlRequester

Returns a pointer to the KURLRequester.