KIO
#include <kurlrequesterdialog.h>
Public Member Functions | |
KUrlRequesterDialog (const QString &url, QWidget *parent=0) | |
KUrlRequesterDialog (const QString &url, const QString &text, QWidget *parent) | |
~KUrlRequesterDialog () | |
KFileDialog * | fileDialog () |
KUrl | selectedUrl () const |
KUrlRequester * | urlRequester () |
Static Public Member Functions | |
static KUrl | getUrl (const QString &url=QString(), QWidget *parent=0, const QString &caption=QString()) |
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.
Simple dialog to enter a filename/url.
Definition at line 39 of file kurlrequesterdialog.h.
Constructor & Destructor Documentation
Constructs a KUrlRequesterDialog.
- Parameters
-
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.
Definition at line 52 of file kurlrequesterdialog.cpp.
KUrlRequesterDialog::KUrlRequesterDialog | ( | const QString & | url, |
const QString & | text, | ||
QWidget * | parent | ||
) |
Constructs a KUrlRequesterDialog.
- Parameters
-
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.
Definition at line 61 of file kurlrequesterdialog.cpp.
KUrlRequesterDialog::~KUrlRequesterDialog | ( | ) |
Destructs the dialog.
Definition at line 70 of file kurlrequesterdialog.cpp.
Member Function Documentation
KFileDialog * KUrlRequesterDialog::fileDialog | ( | ) |
Returns a pointer to the file dialog used by the KUrlRequester.
Definition at line 139 of file kurlrequesterdialog.cpp.
|
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. caption The caption to use for the dialog.
Definition at line 123 of file kurlrequesterdialog.cpp.
KUrl KUrlRequesterDialog::selectedUrl | ( | ) | const |
Returns the fully qualified filename.
Definition at line 114 of file kurlrequesterdialog.cpp.
KUrlRequester * KUrlRequesterDialog::urlRequester | ( | ) |
Returns a pointer to the KUrlRequester.
Definition at line 144 of file kurlrequesterdialog.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:04 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.