\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=74pt]{classKURLRequesterDlg__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KURLRequester\-Dlg:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=187pt]{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)
\begin{CompactList}\small\item\em Constructs a KURLRequester\-Dlg. \item\end{CompactList}\item 
{\bf KURLRequester\-Dlg} (const  {\bf QString} \&url, const  {\bf QString} \&text, {\bf QWidget} $\ast$parent, const  char $\ast$name, bool modal=true)
\begin{CompactList}\small\item\em Constructs a KURLRequester\-Dlg. \item\end{CompactList}\item 
{\bf $\sim$KURLRequester\-Dlg} ()
\begin{CompactList}\small\item\em Destructs the dialog. \item\end{CompactList}\item 
{\bf KURL} {\bf selected\-URL} () const 
\begin{CompactList}\small\item\em Returns the fully qualified filename. \item\end{CompactList}\item 
{\bf KFile\-Dialog} $\ast$ {\bf file\-Dialog} ()
\begin{CompactList}\small\item\em Returns a pointer to the file dialog used by the {\bf KURLRequester}{\rm (p.\,\pageref{classKURLRequester})}. \item\end{CompactList}\item 
{\bf KURLRequester} $\ast$ {\bf url\-Requester} ()
\begin{CompactList}\small\item\em Returns a pointer to the {\bf KURLRequester}{\rm (p.\,\pageref{classKURLRequester})}. \item\end{CompactList}\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KURL} {\bf get\-URL} (const  {\bf QString} \&url=QString::null, {\bf QWidget} $\ast$parent=0, const  {\bf QString} \&caption=QString::null)
\begin{CompactList}\small\item\em Creates a modal dialog, executes it and returns the selected URL. \item\end{CompactList}\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 j.w.greven@student.utwente.nl}$>$ \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} = 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.

References KStd\-Accel::name().\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} = 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.

References KStd\-Accel::name().\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} = QString::null, {\bf QWidget} $\ast$ {\em parent} = 0, const {\bf QString} \& {\em caption} = 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\-Malformed(), QString::is\-Null(), 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}
