# class KUrlRequesterDialog

###

Module | kio
Namespace |
Class | KUrlRequesterDialog
Inherits | KDialog

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

Simple dialog to enter a filename/url. Author Wilco Greven <greven@kde.org>

### methods

- KUrlRequesterDialog (url, parent)

  returns ctor
  KDE 4.1.0 and later only

  Argument | Type | Default
  --- | --- | ---
  url | QString |
  parent | QWidget | 0

  Constructs a KUrlRequesterDialog.

  url - The url of the directory to start in. Use QString() to start in the current working directory, or the last directory where a file has been selected.

  parent - The parent object of this widget.

- KUrlRequesterDialog (url, text, parent)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  url | QString |
  text | QString |
  parent | QWidget |

  Constructs a KUrlRequesterDialog.

  url - The url of the directory to start in. Use QString() 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.

- KUrlRequesterDialog (a0)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  a0 | KUrlRequesterDialog |

- KUrlRequesterDialog (a0, a1)

  returns ctor
  before KDE 4.1.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | QString |
  a1 | QWidget | 0

- fileDialog ( )

  returns KFileDialog

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

- getUrl (url, parent, caption)

  returns KUrl
  static

  Argument | Type | Default
  --- | --- | ---
  url | QString | QString()
  parent | QWidget | 0
  caption | QString | QString()

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

  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.

- selectedUrl ( )

  returns KUrl

  Returns the fully qualified filename.

- urlRequester ( )

  returns KUrlRequester

  Returns a pointer to the KUrlRequester.