.TH "KURLRequesterDlg" kde3 "11 Jun 2005" "Version Version 3.4.1" "kio Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KURLRequesterDlg \- Dialog in which a user can enter a filename or url. Simple dialog to enter a filename/url.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kurlrequesterdlg.h>\fP
.PP
Inherits \fBKDialogBase\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKURLRequesterDlg\fP (const \fBQString\fP &url, \fBQWidget\fP *parent, const char *name, bool modal=true)"
.br
.ti -1c
.RI "\fBKURLRequesterDlg\fP (const \fBQString\fP &url, const \fBQString\fP &text, \fBQWidget\fP *parent, const char *name, bool modal=true)"
.br
.ti -1c
.RI "\fB~KURLRequesterDlg\fP ()"
.br
.ti -1c
.RI "\fBKURL\fP \fBselectedURL\fP () const "
.br
.ti -1c
.RI "\fBKFileDialog\fP * \fBfileDialog\fP ()"
.br
.ti -1c
.RI "\fBKURLRequester\fP * \fBurlRequester\fP ()"
.br
.in -1c
.SS "Static Public Member Functions"

.in +1c
.ti -1c
.RI "static \fBKURL\fP \fBgetURL\fP (const \fBQString\fP &url=QString::null, \fBQWidget\fP *parent=0, const \fBQString\fP &caption=QString::null)"
.br
.in -1c
.SH "Detailed Description"
.PP 
Dialog in which a user can enter a filename or url. Simple dialog to enter a filename/url. 

It is a dialog encapsulating \fBKURLRequester\fP. The API is derived from \fBKFileDialog\fP.
.PP
\fBAuthor:\fP
.RS 4
Wilco Greven <greven@kde.org> 
.RE
.PP

.PP
Definition at line 38 of file kurlrequesterdlg.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KURLRequesterDlg::KURLRequesterDlg (const \fBQString\fP & url, \fBQWidget\fP * parent, const char * name, bool modal = \fCtrue\fP)"
.PP
Constructs a KURLRequesterDlg. 
.PP
\fBParameters:\fP
.RS 4
\fIurl\fP 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. 
.br
\fImodal\fP Specifies whether the dialog should be opened as modal or not. 
.RE
.PP

.PP
Definition at line 42 of file kurlrequesterdlg.cpp.
.SS "KURLRequesterDlg::KURLRequesterDlg (const \fBQString\fP & url, const \fBQString\fP & text, \fBQWidget\fP * parent, const char * name, bool modal = \fCtrue\fP)"
.PP
Constructs a KURLRequesterDlg. 
.PP
\fBParameters:\fP
.RS 4
\fIurl\fP 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. 
.br
\fItext\fP Text of the label 
.br
\fImodal\fP Specifies whether the dialog should be opened as modal or not. 
.RE
.PP

.PP
Definition at line 50 of file kurlrequesterdlg.cpp.
.SS "KURLRequesterDlg::~\fBKURLRequesterDlg\fP ()"
.PP
Destructs the dialog. 
.PP
Definition at line 57 of file kurlrequesterdlg.cpp.
.SH "Member Function Documentation"
.PP 
.SS "\fBKURL\fP KURLRequesterDlg::selectedURL () const"
.PP
Returns the fully qualified filename. 
.PP
Definition at line 98 of file kurlrequesterdlg.cpp.
.PP
References KURL::fromPathOrURL(), QDialog::result(), and KURLRequester::url.
.PP
Referenced by getURL().
.SS "\fBKURL\fP KURLRequesterDlg::getURL (const \fBQString\fP & url = \fCQString::null\fP, \fBQWidget\fP * parent = \fC0\fP, const \fBQString\fP & caption = \fCQString::null\fP)\fC [static]\fP"
.PP
Creates a modal dialog, executes it and returns the selected URL. 
.PP
\fBParameters:\fP
.RS 4
\fIurl\fP This specifies the initial path of the input line. 
.br
\fIparent\fP The widget the dialog will be centered on initially. 
.RE
.PP

.PP
Definition at line 107 of file kurlrequesterdlg.cpp.
.PP
References KRecentDocument::add(), QDialog::exec(), KURL::isValid(), selectedURL(), and KDialog::setCaption().
.SS "\fBKFileDialog\fP * KURLRequesterDlg::fileDialog ()"
.PP
Returns a pointer to the file dialog used by the \fBKURLRequester\fP. 
.PP
Definition at line 123 of file kurlrequesterdlg.cpp.
.PP
References KURLRequester::fileDialog().
.SS "\fBKURLRequester\fP * KURLRequesterDlg::urlRequester ()"
.PP
Returns a pointer to the \fBKURLRequester\fP. 
.PP
Definition at line 128 of file kurlrequesterdlg.cpp.

.SH "Author"
.PP 
Generated automatically by Doxygen for kio Library from the source code.
