\section{KURLRequester\-Dlg Class Reference}
\label{classKURLRequesterDlg}\index{KURLRequesterDlg@{KURLRequesterDlg}}
Dialog in which a user can enter a filename or url. Simple dialog to enter a filename/url.  


{\tt \#include $<$kurlrequesterdlg.h$>$}

Inheritance diagram for KURLRequester\-Dlg:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=70pt]{classKURLRequesterDlg__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KURLRequester\-Dlg:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=300pt]{classKURLRequesterDlg__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KURLRequester\-Dlg} (const {\bf QString} \&url, {\bf QWidget} $\ast$parent, const char $\ast$name, bool modal=true)
\item 
{\bf KURLRequester\-Dlg} (const {\bf QString} \&url, const {\bf QString} \&text, {\bf QWidget} $\ast$parent, const char $\ast$name, bool modal=true)
\item 
{\bf $\sim$KURLRequester\-Dlg} ()
\item 
{\bf KURL} {\bf selected\-URL} () const 
\item 
{\bf KFile\-Dialog} $\ast$ {\bf file\-Dialog} ()
\item 
{\bf KURLRequester} $\ast$ {\bf url\-Requester} ()
\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
static {\bf KURL} {\bf get\-URL} (const {\bf QString} \&url=QString::null, {\bf QWidget} $\ast$parent=0, const {\bf QString} \&caption=QString::null)
\end{CompactItemize}


\subsection{Detailed Description}
Dialog in which a user can enter a filename or url. Simple dialog to enter a filename/url. 

It is a dialog encapsulating {\bf KURLRequester}{\rm (p.\,\pageref{classKURLRequester})}. The API is derived from {\bf KFile\-Dialog}{\rm (p.\,\pageref{classKFileDialog})}.

\begin{Desc}
\item[Author:]Wilco Greven $<${\tt greven@kde.org}$>$ \end{Desc}




Definition at line 38 of file kurlrequesterdlg.h.

\subsection{Constructor \& Destructor Documentation}
\index{KURLRequesterDlg@{KURLRequester\-Dlg}!KURLRequesterDlg@{KURLRequesterDlg}}
\index{KURLRequesterDlg@{KURLRequesterDlg}!KURLRequesterDlg@{KURLRequester\-Dlg}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KURLRequester\-Dlg::KURLRequester\-Dlg (const {\bf QString} \& {\em url}, {\bf QWidget} $\ast$ {\em parent}, const char $\ast$ {\em name}, bool {\em modal} = {\tt true})}\label{classKURLRequesterDlg_a0}


Constructs a KURLRequester\-Dlg. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em 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. \item[{\em modal}]Specifies whether the dialog should be opened as modal or not. \end{description}
\end{Desc}


Definition at line 42 of file kurlrequesterdlg.cpp.\index{KURLRequesterDlg@{KURLRequester\-Dlg}!KURLRequesterDlg@{KURLRequesterDlg}}
\index{KURLRequesterDlg@{KURLRequesterDlg}!KURLRequesterDlg@{KURLRequester\-Dlg}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KURLRequester\-Dlg::KURLRequester\-Dlg (const {\bf QString} \& {\em url}, const {\bf QString} \& {\em text}, {\bf QWidget} $\ast$ {\em parent}, const char $\ast$ {\em name}, bool {\em modal} = {\tt true})}\label{classKURLRequesterDlg_a1}


Constructs a KURLRequester\-Dlg. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em 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. \item[{\em text}]Text of the label \item[{\em modal}]Specifies whether the dialog should be opened as modal or not. \end{description}
\end{Desc}


Definition at line 50 of file kurlrequesterdlg.cpp.\index{KURLRequesterDlg@{KURLRequester\-Dlg}!~KURLRequesterDlg@{$\sim$KURLRequesterDlg}}
\index{~KURLRequesterDlg@{$\sim$KURLRequesterDlg}!KURLRequesterDlg@{KURLRequester\-Dlg}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KURLRequester\-Dlg::$\sim${\bf KURLRequester\-Dlg} ()}\label{classKURLRequesterDlg_a2}


Destructs the dialog. 



Definition at line 57 of file kurlrequesterdlg.cpp.

\subsection{Member Function Documentation}
\index{KURLRequesterDlg@{KURLRequester\-Dlg}!selectedURL@{selectedURL}}
\index{selectedURL@{selectedURL}!KURLRequesterDlg@{KURLRequester\-Dlg}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KURL} KURLRequester\-Dlg::selected\-URL () const}\label{classKURLRequesterDlg_a3}


Returns the fully qualified filename. 



Definition at line 98 of file kurlrequesterdlg.cpp.

References KURL::from\-Path\-Or\-URL(), QDialog::result(), and KURLRequester::url.

Referenced by get\-URL().\index{KURLRequesterDlg@{KURLRequester\-Dlg}!getURL@{getURL}}
\index{getURL@{getURL}!KURLRequesterDlg@{KURLRequester\-Dlg}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KURL} KURLRequester\-Dlg::get\-URL (const {\bf QString} \& {\em url} = {\tt QString::null}, {\bf QWidget} $\ast$ {\em parent} = {\tt 0}, const {\bf QString} \& {\em caption} = {\tt QString::null})\hspace{0.3cm}{\tt  [static]}}\label{classKURLRequesterDlg_e0}


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

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em url}]This specifies the initial path of the input line. \item[{\em parent}]The widget the dialog will be centered on initially. \end{description}
\end{Desc}


Definition at line 107 of file kurlrequesterdlg.cpp.

References KRecent\-Document::add(), QDialog::exec(), KURL::is\-Valid(), selected\-URL(), and KDialog::set\-Caption().\index{KURLRequesterDlg@{KURLRequester\-Dlg}!fileDialog@{fileDialog}}
\index{fileDialog@{fileDialog}!KURLRequesterDlg@{KURLRequester\-Dlg}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KFile\-Dialog} $\ast$ KURLRequester\-Dlg::file\-Dialog ()}\label{classKURLRequesterDlg_a4}


Returns a pointer to the file dialog used by the {\bf KURLRequester}{\rm (p.\,\pageref{classKURLRequester})}. 



Definition at line 123 of file kurlrequesterdlg.cpp.

References KURLRequester::file\-Dialog().\index{KURLRequesterDlg@{KURLRequester\-Dlg}!urlRequester@{urlRequester}}
\index{urlRequester@{urlRequester}!KURLRequesterDlg@{KURLRequester\-Dlg}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KURLRequester} $\ast$ KURLRequester\-Dlg::url\-Requester ()}\label{classKURLRequesterDlg_a5}


Returns a pointer to the {\bf KURLRequester}{\rm (p.\,\pageref{classKURLRequester})}. 



Definition at line 128 of file kurlrequesterdlg.cpp.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
kurlrequesterdlg.h\item 
kurlrequesterdlg.cpp\end{CompactItemize}
