<HTML> <HEAD> <TITLE>class KOpenWithHandler</TITLE> <META NAME="Generator" CONTENT="KDOC "> </HEAD> <BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff"> <TABLE WIDTH="100%" BORDER="0"> <TR> <TD> <TABLE BORDER="0"> <TR><TD valign="top" align="left" cellspacing="10"> <h1>class KOpenWithHandler</h1> </TD> <TD valign="top" align="right" colspan="1">Handler for KRun's displayOpenWithDialog() call. <small><A HREF="#longdesc">More...</A></small></TD></TR> </TABLE> <HR> <TABLE BORDER="0"> <TR><TH>Definition</TH><TD><code>#include <<A HREF="krun_h.html">krun.h</A>></code></TD></TR> <TR><TH><A HREF="full-list-KOpenWithHandler.html">List of all Methods</A></TH></TR> </TABLE> </TD> <TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR> <TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR> <TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR> <TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR> <TR><TD><small><A HREF="index.html">Index</A></small></TD></TR> </TABLE></TD></TR></TABLE> <h4>Public Methods</h4><ul><LI> <b><A HREF="#ref1">KOpenWithHandler</A></b> () </LI> <LI>virtual <b><A HREF="#ref2">~KOpenWithHandler</A></b> () </LI> <LI>virtual bool <b><A HREF="#ref3">displayOpenWithDialog</A></b> ( const <A HREF="../kdecore/KURL__List.html">KURL::List</A>& urls ) </LI> </ul><h4>Public Static Methods</h4><ul><LI>static <A HREF="KOpenWithHandler.html">KOpenWithHandler</A> * <b><A HREF="#ref4">getOpenWithHandler</A></b> () </LI> <LI>static bool <b><A HREF="#ref5">exists</A></b> () </LI> </ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p> This class handles the displayOpenWithDialog call, made by KRun when it has no idea what to do with a URL. The default implementation is to print a huge fat warning This behaviour is overriden by KFileOpenWithHandler, in libkfile, which displays the real open-with dialog box. </p> <p> If you use KRun you <code>need</code> to create an instance of KFileOpenWithHandler (except if you can make sure you only use it for executables or Type=Application desktop files) </p> <p></p> <p><b>See also</b>: KFileOpenWithHandler</p> <A NAME="KOpenWithHandler"></A><A NAME="ref1"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>KOpenWithHandler</strong> () <br></td><td align="right"><h3><strong>KOpenWithHandler</strong></h3></td></tr></table><p></p><A NAME="~KOpenWithHandler"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>~KOpenWithHandler</strong> () <br></td><td align="right"><h3><strong>~KOpenWithHandler</strong></h3></td></tr></table><p> <small>[virtual]</small></p><A NAME="displayOpenWithDialog"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool <strong>displayOpenWithDialog</strong> ( const <A HREF="../kdecore/KURL__List.html">KURL::List</A>& urls ) <br></td><td align="right"><h3><strong>displayOpenWithDialog</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> Opens an open-with dialog box for <code>urls</code> </p> <p><b>Returns</b>: true if the operation succeeded </p> <A NAME="getOpenWithHandler"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="KOpenWithHandler.html">KOpenWithHandler</A> * <strong>getOpenWithHandler</strong> () <br></td><td align="right"><h3><strong>getOpenWithHandler</strong></h3></td></tr></table><p> <small>[static]</small></p><p> Call this to get the (only) instance of KOpenWithHandler </p> <A NAME="exists"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool <strong>exists</strong> () <br></td><td align="right"><h3><strong>exists</strong></h3></td></tr></table><p> <small>[static]</small></p><HR> <table> <tr><td><small>Generated by: qateam on updates.mandrakesoft.com on Mon Dec 30 16:09:14 2002, using kdoc 2.0a53.</small></td></tr> </table> </BODY> </HTML>