Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > 6282078ae76a671f49c6af38c67b1a07 > files > 1840

kdelibs-devel-2.2.2-49.2mdk.i586.rpm

<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 &lt;<A HREF="krun_h.html">krun.h</A>&gt;</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>&nbsp;<b><A HREF="#ref1">KOpenWithHandler</A></b> () 
</LI>
<LI>virtual  &nbsp;<b><A HREF="#ref2">~KOpenWithHandler</A></b> () 
</LI>
<LI>virtual  bool &nbsp;<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> * &nbsp;<b><A HREF="#ref4">getOpenWithHandler</A></b> () 
</LI>
<LI>static  bool &nbsp;<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>&nbsp;<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> &nbsp;<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 &nbsp;<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> * &nbsp;<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 &nbsp;<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>