Main Page Modules Namespace List Class Hierarchy Compound List File List Namespace Members Compound Members Related Pages
KURLRequesterDlg Class Reference
Simple dialog to enter a filename/url.
More...
#include <kurlrequesterdlg.h>
Inheritance diagram for KURLRequesterDlg:
List of all members.
Detailed Description
Simple dialog to enter a filename/url.
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 <j.w.greven@student.utwente.nl>
Definition at line 38 of file kurlrequesterdlg.h.
Constructor & Destructor Documentation
| KURLRequesterDlg::KURLRequesterDlg |
( |
const QString & |
url, |
|
|
QWidget * |
parent, |
|
|
const char * |
name, |
|
|
bool |
modal = true |
|
) |
|
|
|
|
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::KURLRequesterDlg |
( |
const QString & |
url, |
|
|
const QString & |
text, |
|
|
QWidget * |
parent, |
|
|
const char * |
name, |
|
|
bool |
modal = true |
|
) |
|
|
|
|
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 |
( |
|
) |
|
|
Member Function Documentation
| KURL KURLRequesterDlg::getURL |
( |
const QString & |
url = QString::null, |
|
|
QWidget * |
parent = 0, |
|
|
const QString & |
caption = QString::null |
|
) |
[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. |
|
| KURL KURLRequesterDlg::selectedURL |
( |
|
) |
|
|
|
|
Returns the fully qualified filename. |
The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:28 2003 for kdelibs by
1.2.18