\section{KFile\-Open\-With\-Handler Class Reference}
\label{classKFileOpenWithHandler}\index{KFileOpenWithHandler@{KFileOpenWithHandler}}
This class handles the display\-Open\-With\-Dialog call, made by {\bf KRun}{\rm (p.\,\pageref{classKRun})} when it has no idea what to do with a URL.  


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

Inheritance diagram for KFile\-Open\-With\-Handler:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=82pt]{classKFileOpenWithHandler__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KFile\-Open\-With\-Handler:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=82pt]{classKFileOpenWithHandler__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
virtual bool {\bf display\-Open\-With\-Dialog} (const  {\bf KURL::List} \&urls)
\begin{CompactList}\small\item\em Opens an open-with dialog box for {\tt urls}. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
This class handles the display\-Open\-With\-Dialog call, made by {\bf KRun}{\rm (p.\,\pageref{classKRun})} when it has no idea what to do with a URL. 

It displays the open-with dialog box.

If you use {\bf KRun}{\rm (p.\,\pageref{classKRun})} you \_\-need\_\- to create an instance of KFile\-Open\-With\-Handler (except if you can make sure you only use it for executables or Type=Application desktop files) 



Definition at line 173 of file kopenwith.h.

\subsection{Member Function Documentation}
\index{KFileOpenWithHandler@{KFile\-Open\-With\-Handler}!displayOpenWithDialog@{displayOpenWithDialog}}
\index{displayOpenWithDialog@{displayOpenWithDialog}!KFileOpenWithHandler@{KFile\-Open\-With\-Handler}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KFile\-Open\-With\-Handler::display\-Open\-With\-Dialog (const {\bf KURL::List} \& {\em urls})\hspace{0.3cm}{\tt  [virtual]}}\label{classKFileOpenWithHandler_a2}


Opens an open-with dialog box for {\tt urls}. 

\begin{Desc}
\item[Returns:]true if the operation succeeded \end{Desc}


Definition at line 704 of file kopenwith.cpp.

References QDialog::exec(), KRun::run(), KOpen\-With\-Dlg::service(), and KOpen\-With\-Dlg::text().

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