Sophie

Sophie

distrib > CentOS > 5 > x86_64 > by-pkgid > f89abdeb016114b348a5c554d8214329 > files > 7952

kdelibs-apidocs-3.5.4-30.el5.centos.x86_64.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US">

<head>
  <title>kio/kio: KRun Class Reference (kio/kio)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

  <meta http-equiv="Content-Style-Type" content="text/css" />

  <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org"  r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org"  r (n 0 s 0 v 0 l 0))' />

  <meta name="trademark" content="KDE e.V." />
  <meta name="description" content="K Desktop Environment Homepage, KDE.org" />
  <meta name="MSSmartTagsPreventParsing" content="true" />
  <meta name="robots" content="all" />

  <link rel="shortcut icon" href="../../../favicon.ico" />

<link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" />



</head>

<body>

<div id="nav_header_top" align="right">
  <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a>

  <a href="../../.."><img id="nav_header_logo" alt="Home" align="left" src="../../../kde_gear_64.png" border="0" /></a>
  <span class="doNotDisplay">::</span>

  <div id="nav_header_title" align="left">KDE API Reference</div>


</div>

<div id="nav_header_bottom" align="right">
  <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span>
  <div id="nav_header_bottom_right" style="text-align: left;">
/ <a href="../../..">API Reference</a>
 / <a href="../../html/index.html">kio</a> / <a href=".">kio</a>
  </div>
</div>


<table id="main" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
      <td valign="top" class="menuheader" height="0"></td>

  <td id="contentcolumn" valign="top" rowspan="2" >
    <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;">
    <a name="content"></a>


<!-- Generated by Doxygen 1.4.7 -->
<h1>KRun Class Reference</h1><!-- doxytag: class="KRun" --><!-- doxytag: inherits="QObject" --><code>#include &lt;<a class="el" href="krun_8h-source.html">krun.h</a>&gt;</code>
<p>
<p>Inheritance diagram for KRun:
<p><center><img src="classKRun.png" usemap="#KRun_map" border="0" alt=""></center>
<map name="KRun_map">
<area doxygen="qt.tag:" href="qobject.html" alt="QObject" shape="rect" coords="0,0,59,24">
</map>
<a href="classKRun-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
To open files with their associated applications in KDE, use KRun.Opens files with their associated applications in KDE. 
<p>
It can execute any desktop entry, as well as any file, using the default application or another application "bound" to the file type (or URL protocol).<p>
In that example, the mimetype of the file is not known by the application, so a <a class="el" href="classKRun.html">KRun</a> instance must be created. It will determine the mimetype by itself. If the mimetype is known, or if you even know the service (application) to use for this file, use one of the static methods.<p>
By default <a class="el" href="classKRun.html">KRun</a> uses auto deletion. It causes the <a class="el" href="classKRun.html">KRun</a> instance to delete itself when the it finished its task. If you allocate the <a class="el" href="classKRun.html">KRun</a> object on the stack you must disable auto deletion, otherwise it will crash. 
<p>

<p>
Definition at line <a class="el" href="krun_8h-source.html#l00058">58</a> of file <a class="el" href="krun_8h-source.html">krun.h</a>.<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Signals</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#0811ba8471c6a70e6bd1f7c16f4ca775">finished</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#8b6f349976e50ef379fdda66037d3afb">error</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#dbd4d18bcb4c57ed5cac39f7c75e0617">KRun</a> (const KURL &amp;url, mode_t mode=0, bool isLocalFile=false, bool showProgressInfo=true)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#af297eec7c336036bda8c6465f80d094">KRun</a> (const KURL &amp;url, <a class="elRef" doxygen="qt.tag:" href="qwidget.html">QWidget</a> *window, mode_t mode=0, bool isLocalFile=false, bool showProgressInfo=true)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#d127a5f5753259a996800dcc0352170f">~KRun</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#ae33f4c6a880306e005d06a15c903a88">abort</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#0cd3c8ce5a9b54ee6cbc45fd36ca4444">hasError</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#52e5ce498a5af56eed4d6b36bdb93184">hasFinished</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#f986114ef3ce471705f5c62f5c847de4">autoDelete</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#b5e7b0ec20b3986a66158b1a15f9fdef">setAutoDelete</a> (bool b)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#84f99406c29dc580299e25ea779c100c">setPreferredService</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;desktopEntryName)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#67257f7b3e7feef8b16d49485fd221f5">setRunExecutables</a> (bool b)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#6a9a9f87d73a222e02a54f20e10d707f">setEnableExternalBrowser</a> (bool b)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#768ff89c98ff1315e002dac28f40cc1d">setSuggestedFileName</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;fileName)</td></tr>

<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static pid_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#d86a1cb147017c650f441f2a8abbb81f">run</a> (const <a class="el" href="classKService.html">KService</a> &amp;_service, const KURL::List &amp;_urls, <a class="elRef" doxygen="qt.tag:" href="qwidget.html">QWidget</a> *window, bool tempFiles=false)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static pid_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#3a73dc0693a3b17dd8f4c4dac18ae2b5">run</a> (const <a class="el" href="classKService.html">KService</a> &amp;_service, const KURL::List &amp;_urls, bool tempFiles)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="377f9576dd22535d6008e8ee078cbdba"></a><!-- doxytag: member="KRun::run" ref="377f9576dd22535d6008e8ee078cbdba" args="(const KService &amp;_service, const KURL::List &amp;_urls)" -->
static pid_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#377f9576dd22535d6008e8ee078cbdba">run</a> (const <a class="el" href="classKService.html">KService</a> &amp;_service, const KURL::List &amp;_urls)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static pid_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#dbccd08c050f7b7f6a871f559d2063df">run</a> (const <a class="el" href="classKService.html">KService</a> &amp;_service, const KURL::List &amp;_urls, <a class="elRef" doxygen="qt.tag:" href="qwidget.html">QWidget</a> *window, bool tempFiles, const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;suggestedFileName)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static pid_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#995bc1308f9ccd35cf42b4d1e448006d">run</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;_exec, const KURL::List &amp;_urls, const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;_name=QString::null, const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;_icon=QString::null, const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;_obsolete1=QString::null, const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;_obsolete2=QString::null)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static pid_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#c9b7d470640917274f3091c6e3eb305e">runURL</a> (const KURL &amp;_url, const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;_mimetype, bool tempFile, bool runExecutables)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0beecb58d77883b7434f7d01c7800623"></a><!-- doxytag: member="KRun::runURL" ref="0beecb58d77883b7434f7d01c7800623" args="(const KURL &amp;_url, const QString &amp;_mimetype, bool tempFile)" -->
static pid_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#0beecb58d77883b7434f7d01c7800623">runURL</a> (const KURL &amp;_url, const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;_mimetype, bool tempFile)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="39697973c358d95bf544e8164cd8145c"></a><!-- doxytag: member="KRun::runURL" ref="39697973c358d95bf544e8164cd8145c" args="(const KURL &amp;_url, const QString &amp;_mimetype)" -->
static pid_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#39697973c358d95bf544e8164cd8145c">runURL</a> (const KURL &amp;_url, const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;_mimetype)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static pid_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#d897535fa88959dd80adf9afb0a4e447">runURL</a> (const KURL &amp;_url, const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;_mimetype, bool tempFile, bool runExecutables, const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;suggestedFileName)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static pid_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#cbf97c72c343ef24a427e744d63139bc">runCommand</a> (<a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> cmd)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static pid_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#83990b8cb95e5a1440ec63fe8d132e93">runCommand</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;cmd, const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;execName, const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;icon)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#59f662f719e5941f79b56c65c2beeac3">displayOpenWithDialog</a> (const KURL::List &amp;lst, bool tempFiles)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2d97e9c5e524a6f4fc58f87888d8b75c"></a><!-- doxytag: member="KRun::displayOpenWithDialog" ref="2d97e9c5e524a6f4fc58f87888d8b75c" args="(const KURL::List &amp;lst)" -->
static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#2d97e9c5e524a6f4fc58f87888d8b75c">displayOpenWithDialog</a> (const KURL::List &amp;lst)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#7cac381825d4143b03bc19fd563a0674">displayOpenWithDialog</a> (const KURL::List &amp;lst, bool tempFiles, const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;suggestedFileName)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#1460a9e90e2002bc1448e8824800da97">shellQuote</a> (<a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;_str)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="elRef" doxygen="qt.tag:" href="qstringlist.html">QStringList</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#ef7877016f7c1befedd20dd38549907a">processDesktopExec</a> (const <a class="el" href="classKService.html">KService</a> &amp;_service, const KURL::List &amp;_urls, bool has_shell, bool tempFiles)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="84f4539572e7c0ae4029cf9f0493e8e0"></a><!-- doxytag: member="KRun::processDesktopExec" ref="84f4539572e7c0ae4029cf9f0493e8e0" args="(const KService &amp;_service, const KURL::List &amp;_urls, bool has_shell)" -->
static <a class="elRef" doxygen="qt.tag:" href="qstringlist.html">QStringList</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#84f4539572e7c0ae4029cf9f0493e8e0">processDesktopExec</a> (const <a class="el" href="classKService.html">KService</a> &amp;_service, const KURL::List &amp;_urls, bool has_shell)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="elRef" doxygen="qt.tag:" href="qstringlist.html">QStringList</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#ebeb8a36dfe9a31f0398c7123d91adb5">processDesktopExec</a> (const <a class="el" href="classKService.html">KService</a> &amp;_service, const KURL::List &amp;_urls, bool has_shell, bool tempFiles, const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;suggestedFileName)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#e438b189a47858938d1428999a82a7c0">binaryName</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;execLine, bool removePath)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#be21b7573533035c6613ebca1bf0dd18">isExecutable</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;serviceType)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#3b89fed66b4a7a9af9353caf6782ab55">isExecutableFile</a> (const KURL &amp;url, const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;mimetype)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="649e991b5d8de15b3d95b6db2255adcf"></a><!-- doxytag: member="KRun::checkStartupNotify" ref="649e991b5d8de15b3d95b6db2255adcf" args="(const QString &amp;binName, const KService *service, bool *silent_arg, QCString *wmclass_arg)" -->
static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#649e991b5d8de15b3d95b6db2255adcf">checkStartupNotify</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;binName, const <a class="el" href="classKService.html">KService</a> *service, bool *silent_arg, <a class="elRef" doxygen="qt.tag:" href="qcstring.html">QCString</a> *wmclass_arg)</td></tr>

<tr><td colspan="2"><br><h2>Protected Slots</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="316af7ca3419dc3dff6b5f287c7ebd38"></a><!-- doxytag: member="KRun::slotTimeout" ref="316af7ca3419dc3dff6b5f287c7ebd38" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#316af7ca3419dc3dff6b5f287c7ebd38">slotTimeout</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eda64203edd9fa6d781efc73c88816c3"></a><!-- doxytag: member="KRun::slotScanFinished" ref="eda64203edd9fa6d781efc73c88816c3" args="(KIO::Job *)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#eda64203edd9fa6d781efc73c88816c3">slotScanFinished</a> (<a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5ec73853d576a869978e3e6357c19f3f"></a><!-- doxytag: member="KRun::slotScanMimeType" ref="5ec73853d576a869978e3e6357c19f3f" args="(KIO::Job *, const QString &amp;type)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#5ec73853d576a869978e3e6357c19f3f">slotScanMimeType</a> (<a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *, const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="32570bbf12b972046ea34b740fe5f079"></a><!-- doxytag: member="KRun::slotStatResult" ref="32570bbf12b972046ea34b740fe5f079" args="(KIO::Job *)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#32570bbf12b972046ea34b740fe5f079">slotStatResult</a> (<a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *)</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="17293bda527c744e90319ecf1e2f5cdc"></a><!-- doxytag: member="KRun::init" ref="17293bda527c744e90319ecf1e2f5cdc" args="()" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#17293bda527c744e90319ecf1e2f5cdc">init</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="65904e78a947ee42b0cb3a191e52fe3d"></a><!-- doxytag: member="KRun::scanFile" ref="65904e78a947ee42b0cb3a191e52fe3d" args="()" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#65904e78a947ee42b0cb3a191e52fe3d">scanFile</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#bdcfdd7a385d6f05a370c74391f23181">foundMimeType</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;_type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b8a09b894ea321fa30b901fdd805938a"></a><!-- doxytag: member="KRun::killJob" ref="b8a09b894ea321fa30b901fdd805938a" args="()" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#b8a09b894ea321fa30b901fdd805938a">killJob</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="36e9201aaf1d8eeb9eb0d45d062c5dea"></a><!-- doxytag: member="KRun::virtual_hook" ref="36e9201aaf1d8eeb9eb0d45d062c5dea" args="(int id, void *data)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#36e9201aaf1d8eeb9eb0d45d062c5dea">virtual_hook</a> (int id, void *data)</td></tr>

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9ddb14dd16484c69410ae3757762b50d"></a><!-- doxytag: member="KRun::m_strURL" ref="9ddb14dd16484c69410ae3757762b50d" args="" -->
KURL&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#9ddb14dd16484c69410ae3757762b50d">m_strURL</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0f58f52af1fccae154de0e0ef275ba27"></a><!-- doxytag: member="KRun::m_bFault" ref="0f58f52af1fccae154de0e0ef275ba27" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#0f58f52af1fccae154de0e0ef275ba27">m_bFault</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="953b77ea79b8469bec4a90bc25ba25f5"></a><!-- doxytag: member="KRun::m_bAutoDelete" ref="953b77ea79b8469bec4a90bc25ba25f5" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#953b77ea79b8469bec4a90bc25ba25f5">m_bAutoDelete</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="62b8e13c6e6bef109e9dcd8f2474f488"></a><!-- doxytag: member="KRun::m_bProgressInfo" ref="62b8e13c6e6bef109e9dcd8f2474f488" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#62b8e13c6e6bef109e9dcd8f2474f488">m_bProgressInfo</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="71623dd7b2609f4939151a34ee6ff3ed"></a><!-- doxytag: member="KRun::m_bFinished" ref="71623dd7b2609f4939151a34ee6ff3ed" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#71623dd7b2609f4939151a34ee6ff3ed">m_bFinished</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4d69af5f4bcef51efac8f2825a6a03e3"></a><!-- doxytag: member="KRun::m_job" ref="4d69af5f4bcef51efac8f2825a6a03e3" args="" -->
<a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#4d69af5f4bcef51efac8f2825a6a03e3">m_job</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d999e54a3e61efe76433255019025d1b"></a><!-- doxytag: member="KRun::m_timer" ref="d999e54a3e61efe76433255019025d1b" args="" -->
<a class="elRef" doxygen="qt.tag:" href="qtimer.html">QTimer</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#d999e54a3e61efe76433255019025d1b">m_timer</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#13ae5ae5f6020360eea6e2d8ab20b62a">m_bScanFile</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="30a365347bc7bfa40b6aa54404b4eba4"></a><!-- doxytag: member="KRun::m_bIsDirectory" ref="30a365347bc7bfa40b6aa54404b4eba4" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#30a365347bc7bfa40b6aa54404b4eba4">m_bIsDirectory</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#259e6cbfe56fd75f66816df50e77ef01">m_bInit</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="25f7956ff617ced85bd6cf4fb76ed9e0"></a><!-- doxytag: member="KRun::m_bIsLocalFile" ref="25f7956ff617ced85bd6cf4fb76ed9e0" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#25f7956ff617ced85bd6cf4fb76ed9e0">m_bIsLocalFile</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ffc1efc10c705c1ef7eacff0afb11549"></a><!-- doxytag: member="KRun::m_mode" ref="ffc1efc10c705c1ef7eacff0afb11549" args="" -->
mode_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKRun.html#ffc1efc10c705c1ef7eacff0afb11549">m_mode</a></td></tr>

</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="dbd4d18bcb4c57ed5cac39f7c75e0617"></a><!-- doxytag: member="KRun::KRun" ref="dbd4d18bcb4c57ed5cac39f7c75e0617" args="(const KURL &amp;url, mode_t mode=0, bool isLocalFile=false, bool showProgressInfo=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KRun::KRun           </td>
          <td>(</td>
          <td class="paramtype">const KURL &amp;&nbsp;</td>
          <td class="paramname"> <em>url</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">mode_t&nbsp;</td>
          <td class="paramname"> <em>mode</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>isLocalFile</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>showProgressInfo</em> = <code>true</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create a <a class="el" href="classKRun.html">KRun</a> object to run the preferred application for a file/URL. 
<p>
<a class="el" href="classKRun.html">KRun</a> will first determine the type of the file, and will then run the associated application.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>url</em>&nbsp;</td><td>the URL of the file or directory to 'run'</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>The <code>st_mode</code> field of <code>struct stat</code>. If you don't know this set it to 0.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>isLocalFile</em>&nbsp;</td><td>If this parameter is set to <code>false</code> then <code>url</code> is examined to find out whether it is a local URL or not. This flag is just used to improve speed, since the function KURL::isLocalFile is a bit slow.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>showProgressInfo</em>&nbsp;</td><td>Whether to show progress information when determining the type of the file (i.e. when using <a class="el" href="namespaceKIO.html#49ffd693eed4666e66df1795b8dc05c2">KIO::stat</a> and <a class="el" href="namespaceKIO.html#990f33cc3040b4eb8366cbc3509b86ae">KIO::mimetype</a>) Before you set this to false to avoid a dialog box, think about a very slow FTP server... It is always better to provide progress info in such cases. </td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="krun_8cpp-source.html#l00810">810</a> of file <a class="el" href="krun_8cpp-source.html">krun.cpp</a>.
</div>
</div><p>
<a class="anchor" name="af297eec7c336036bda8c6465f80d094"></a><!-- doxytag: member="KRun::KRun" ref="af297eec7c336036bda8c6465f80d094" args="(const KURL &amp;url, QWidget *window, mode_t mode=0, bool isLocalFile=false, bool showProgressInfo=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KRun::KRun           </td>
          <td>(</td>
          <td class="paramtype">const KURL &amp;&nbsp;</td>
          <td class="paramname"> <em>url</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" doxygen="qt.tag:" href="qwidget.html">QWidget</a> *&nbsp;</td>
          <td class="paramname"> <em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">mode_t&nbsp;</td>
          <td class="paramname"> <em>mode</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>isLocalFile</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>showProgressInfo</em> = <code>true</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
BIC: Combine with the above ctor for KDE 4.0. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>window</em>&nbsp;</td><td>The top-level widget of the app that invoked this object. It is used to make sure private information like passwords are properly handled per application. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>url</em>&nbsp;</td><td>the URL of the file or directory to 'run'</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>The <code>st_mode</code> field of <code>struct stat</code>. If you don't know this set it to 0.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>isLocalFile</em>&nbsp;</td><td>If this parameter is set to <code>false</code> then <code>url</code> is examined to find out whether it is a local URL or not. This flag is just used to improve speed, since the function KURL::isLocalFile is a bit slow.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>showProgressInfo</em>&nbsp;</td><td>Whether to show progress information when determining the type of the file (i.e. when using <a class="el" href="namespaceKIO.html#49ffd693eed4666e66df1795b8dc05c2">KIO::stat</a> and <a class="el" href="namespaceKIO.html#990f33cc3040b4eb8366cbc3509b86ae">KIO::mimetype</a>) Before you set this to false to avoid a dialog box, think about a very slow FTP server... It is always better to provide progress info in such cases. </td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="krun_8cpp-source.html#l00816">816</a> of file <a class="el" href="krun_8cpp-source.html">krun.cpp</a>.
</div>
</div><p>
<a class="anchor" name="d127a5f5753259a996800dcc0352170f"></a><!-- doxytag: member="KRun::~KRun" ref="d127a5f5753259a996800dcc0352170f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KRun::~KRun           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Destructor. 
<p>
Don't call it yourself, since a <a class="el" href="classKRun.html">KRun</a> object auto-deletes itself. 
<p>
Definition at line <a class="el" href="krun_8cpp-source.html#l00981">981</a> of file <a class="el" href="krun_8cpp-source.html">krun.cpp</a>.
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="ae33f4c6a880306e005d06a15c903a88"></a><!-- doxytag: member="KRun::abort" ref="ae33f4c6a880306e005d06a15c903a88" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KRun::abort           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Abort this <a class="el" href="classKRun.html">KRun</a>. 
<p>
This kills any jobs launched by it, and leads to deletion if auto-deletion is on. This is much safer than deleting the <a class="el" href="classKRun.html">KRun</a> (in case it's currently showing an error dialog box, for instance) 
<p>
Definition at line <a class="el" href="krun_8cpp-source.html#l01268">1268</a> of file <a class="el" href="krun_8cpp-source.html">krun.cpp</a>.
</div>
</div><p>
<a class="anchor" name="f986114ef3ce471705f5c62f5c847de4"></a><!-- doxytag: member="KRun::autoDelete" ref="f986114ef3ce471705f5c62f5c847de4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KRun::autoDelete           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Checks whether auto delete is activated. 
<p>
Auto-deletion causes the <a class="el" href="classKRun.html">KRun</a> instance to delete itself when it finished its task. By default auto deletion is on. <dl compact><dt><b>Returns:</b></dt><dd>true if auto deletion is on, false otherwise </dd></dl>

<p>
Definition at line <a class="el" href="krun_8h-source.html#l00150">150</a> of file <a class="el" href="krun_8h-source.html">krun.h</a>.
</div>
</div><p>
<a class="anchor" name="e438b189a47858938d1428999a82a7c0"></a><!-- doxytag: member="KRun::binaryName" ref="e438b189a47858938d1428999a82a7c0" args="(const QString &amp;execLine, bool removePath)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> KRun::binaryName           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>execLine</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>removePath</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Given a full command line (e.g. 
<p>
the Exec= line from a .desktop file), extract the name of the binary being run. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>execLine</em>&nbsp;</td><td>the full command line </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>removePath</em>&nbsp;</td><td>if true, remove a (relative or absolute) path. E.g. /usr/bin/ls becomes ls. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>the name of the binary to run </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>3.1 </dd></dl>

<p>
Definition at line <a class="el" href="krun_8cpp-source.html#l00527">527</a> of file <a class="el" href="krun_8cpp-source.html">krun.cpp</a>.
</div>
</div><p>
<a class="anchor" name="7cac381825d4143b03bc19fd563a0674"></a><!-- doxytag: member="KRun::displayOpenWithDialog" ref="7cac381825d4143b03bc19fd563a0674" args="(const KURL::List &amp;lst, bool tempFiles, const QString &amp;suggestedFileName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KRun::displayOpenWithDialog           </td>
          <td>(</td>
          <td class="paramtype">const KURL::List &amp;&nbsp;</td>
          <td class="paramname"> <em>lst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>tempFiles</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>suggestedFileName</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Since:</b></dt><dd>3.5.3 </dd></dl>

<p>
Definition at line <a class="el" href="krun_8cpp-source.html#l00198">198</a> of file <a class="el" href="krun_8cpp-source.html">krun.cpp</a>.
</div>
</div><p>
<a class="anchor" name="59f662f719e5941f79b56c65c2beeac3"></a><!-- doxytag: member="KRun::displayOpenWithDialog" ref="59f662f719e5941f79b56c65c2beeac3" args="(const KURL::List &amp;lst, bool tempFiles)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KRun::displayOpenWithDialog           </td>
          <td>(</td>
          <td class="paramtype">const KURL::List &amp;&nbsp;</td>
          <td class="paramname"> <em>lst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>tempFiles</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Display the Open-With dialog for those URLs, and run the chosen application. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>lst</em>&nbsp;</td><td>the list of applications to run </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>tempFiles</em>&nbsp;</td><td>if true and lst are local files, they will be deleted when the application exits. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>false if the dialog was canceled </dd></dl>

<p>
Definition at line <a class="el" href="krun_8cpp-source.html#l00193">193</a> of file <a class="el" href="krun_8cpp-source.html">krun.cpp</a>.
</div>
</div><p>
<a class="anchor" name="8b6f349976e50ef379fdda66037d3afb"></a><!-- doxytag: member="KRun::error" ref="8b6f349976e50ef379fdda66037d3afb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KRun::error           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Emitted when the operation had an error. 
<p>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classKRun.html#0cd3c8ce5a9b54ee6cbc45fd36ca4444">hasError()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="0811ba8471c6a70e6bd1f7c16f4ca775"></a><!-- doxytag: member="KRun::finished" ref="0811ba8471c6a70e6bd1f7c16f4ca775" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KRun::finished           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Emitted when the operation finished. 
<p>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classKRun.html#52e5ce498a5af56eed4d6b36bdb93184">hasFinished()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="bdcfdd7a385d6f05a370c74391f23181"></a><!-- doxytag: member="KRun::foundMimeType" ref="bdcfdd7a385d6f05a370c74391f23181" args="(const QString &amp;_type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KRun::foundMimeType           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>_type</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Called if the mimetype has been detected. 
<p>
The function checks whether the document and appends the gzip protocol to the URL. Otherwise runURL is called to finish the job. 
<p>
Note: the line above means that if that service failed, we'll go to runURL to maybe find another service, even though a dialog box was displayed. That's good if runURL tries another service, but it's not good if it tries the same one :} 
<p>
Definition at line <a class="el" href="krun_8cpp-source.html#l01158">1158</a> of file <a class="el" href="krun_8cpp-source.html">krun.cpp</a>.
</div>
</div><p>
<a class="anchor" name="0cd3c8ce5a9b54ee6cbc45fd36ca4444"></a><!-- doxytag: member="KRun::hasError" ref="0cd3c8ce5a9b54ee6cbc45fd36ca4444" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KRun::hasError           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns true if the <a class="el" href="classKRun.html">KRun</a> instance has an error. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>true when an error occurred </dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classKRun.html#8b6f349976e50ef379fdda66037d3afb">error()</a> </dd></dl>

<p>
Definition at line <a class="el" href="krun_8h-source.html#l00134">134</a> of file <a class="el" href="krun_8h-source.html">krun.h</a>.
</div>
</div><p>
<a class="anchor" name="52e5ce498a5af56eed4d6b36bdb93184"></a><!-- doxytag: member="KRun::hasFinished" ref="52e5ce498a5af56eed4d6b36bdb93184" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KRun::hasFinished           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns true if the <a class="el" href="classKRun.html">KRun</a> instance has finished. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>true if the <a class="el" href="classKRun.html">KRun</a> instance has finished </dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classKRun.html#0811ba8471c6a70e6bd1f7c16f4ca775">finished()</a> </dd></dl>

<p>
Definition at line <a class="el" href="krun_8h-source.html#l00141">141</a> of file <a class="el" href="krun_8h-source.html">krun.h</a>.
</div>
</div><p>
<a class="anchor" name="be21b7573533035c6613ebca1bf0dd18"></a><!-- doxytag: member="KRun::isExecutable" ref="be21b7573533035c6613ebca1bf0dd18" args="(const QString &amp;serviceType)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KRun::isExecutable           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>serviceType</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns whether <code>serviceType</code> refers to an executable program instead of a data file. 
<p>
<dl compact><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>
Definition at line <a class="el" href="krun_8cpp-source.html#l01308">1308</a> of file <a class="el" href="krun_8cpp-source.html">krun.cpp</a>.
</div>
</div><p>
<a class="anchor" name="3b89fed66b4a7a9af9353caf6782ab55"></a><!-- doxytag: member="KRun::isExecutableFile" ref="3b89fed66b4a7a9af9353caf6782ab55" args="(const KURL &amp;url, const QString &amp;mimetype)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KRun::isExecutableFile           </td>
          <td>(</td>
          <td class="paramtype">const KURL &amp;&nbsp;</td>
          <td class="paramname"> <em>url</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>mimetype</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns wether the <code>url</code> of <code>mimetype</code> is executable. 
<p>
To be executable the file must pass the following rules:<ol type=1>
<li>Must reside on the local filesystem.</li><li>Must be marked as executable for the user by the filesystem.</li><li>The mime type must inherit application/x-executable or application/x-executable-script. To allow a script to run when the above rules are satisfied add the entry <div class="fragment"><pre class="fragment"> X-KDE-IsAlso=application/x-executable-script
</pre></div> to the mimetype's desktop file. <dl compact><dt><b>Since:</b></dt><dd>3.3 </dd></dl>
</li></ol>

<p>
Definition at line <a class="el" href="krun_8cpp-source.html#l00097">97</a> of file <a class="el" href="krun_8cpp-source.html">krun.cpp</a>.
</div>
</div><p>
<a class="anchor" name="ebeb8a36dfe9a31f0398c7123d91adb5"></a><!-- doxytag: member="KRun::processDesktopExec" ref="ebeb8a36dfe9a31f0398c7123d91adb5" args="(const KService &amp;_service, const KURL::List &amp;_urls, bool has_shell, bool tempFiles, const QString &amp;suggestedFileName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="qt.tag:" href="qstringlist.html">QStringList</a> KRun::processDesktopExec           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classKService.html">KService</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>_service</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const KURL::List &amp;&nbsp;</td>
          <td class="paramname"> <em>_urls</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>has_shell</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>tempFiles</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>suggestedFileName</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Since:</b></dt><dd>3.5.3 </dd></dl>

<p>
compatibility hack -- KDE 4: remove 
<p>
Definition at line <a class="el" href="krun_8cpp-source.html#l00363">363</a> of file <a class="el" href="krun_8cpp-source.html">krun.cpp</a>.
</div>
</div><p>
<a class="anchor" name="ef7877016f7c1befedd20dd38549907a"></a><!-- doxytag: member="KRun::processDesktopExec" ref="ef7877016f7c1befedd20dd38549907a" args="(const KService &amp;_service, const KURL::List &amp;_urls, bool has_shell, bool tempFiles)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="qt.tag:" href="qstringlist.html">QStringList</a> KRun::processDesktopExec           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classKService.html">KService</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>_service</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const KURL::List &amp;&nbsp;</td>
          <td class="paramname"> <em>_urls</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>has_shell</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>tempFiles</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Processes a Exec= line as found in .desktop files. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>_service</em>&nbsp;</td><td>the service to extract information from. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>_urls</em>&nbsp;</td><td>The urls the service should open. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>has_shell</em>&nbsp;</td><td>If true, the arguments are going to be fed into a shell e.g by using system(). If false, the arguments are going to be fed into a exec() kind call. If the arguments are intended for an exec() kind of call and the Exec line contains shell commands then "/bin/sh -c" is added. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>tempFiles</em>&nbsp;</td><td>if true and _urls are local files, they will be deleted when the application exits. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>a list of arguments suitable for either system() or exec(). </dd></dl>

<p>
Definition at line <a class="el" href="krun_8cpp-source.html#l00358">358</a> of file <a class="el" href="krun_8cpp-source.html">krun.cpp</a>.
</div>
</div><p>
<a class="anchor" name="995bc1308f9ccd35cf42b4d1e448006d"></a><!-- doxytag: member="KRun::run" ref="995bc1308f9ccd35cf42b4d1e448006d" args="(const QString &amp;_exec, const KURL::List &amp;_urls, const QString &amp;_name=QString::null, const QString &amp;_icon=QString::null, const QString &amp;_obsolete1=QString::null, const QString &amp;_obsolete2=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pid_t KRun::run           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>_exec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const KURL::List &amp;&nbsp;</td>
          <td class="paramname"> <em>_urls</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>_name</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>_icon</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>_obsolete1</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>_obsolete2</em> = <code>QString::null</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Open a list of URLs with. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>_exec</em>&nbsp;</td><td>the name of the executable, for example "/usr/bin/netscape". </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>_urls</em>&nbsp;</td><td>the list of URLs to open, can be empty (app launched without argument) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>_name</em>&nbsp;</td><td>the logical name of the application, for example "Netscape 4.06". </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>_icon</em>&nbsp;</td><td>the icon which should be used by the application. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>_obsolete1</em>&nbsp;</td><td>Do not use! </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>_obsolete2</em>&nbsp;</td><td>Do not use! </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>the process id, or 0 on error </dd></dl>

<p>
Definition at line <a class="el" href="krun_8cpp-source.html#l00787">787</a> of file <a class="el" href="krun_8cpp-source.html">krun.cpp</a>.
</div>
</div><p>
<a class="anchor" name="dbccd08c050f7b7f6a871f559d2063df"></a><!-- doxytag: member="KRun::run" ref="dbccd08c050f7b7f6a871f559d2063df" args="(const KService &amp;_service, const KURL::List &amp;_urls, QWidget *window, bool tempFiles, const QString &amp;suggestedFileName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pid_t KRun::run           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classKService.html">KService</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>_service</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const KURL::List &amp;&nbsp;</td>
          <td class="paramname"> <em>_urls</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" doxygen="qt.tag:" href="qwidget.html">QWidget</a> *&nbsp;</td>
          <td class="paramname"> <em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>tempFiles</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>suggestedFileName</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Since:</b></dt><dd>3.5.3 </dd></dl>

<p>
Definition at line <a class="el" href="krun_8cpp-source.html#l00734">734</a> of file <a class="el" href="krun_8cpp-source.html">krun.cpp</a>.
</div>
</div><p>
<a class="anchor" name="3a73dc0693a3b17dd8f4c4dac18ae2b5"></a><!-- doxytag: member="KRun::run" ref="3a73dc0693a3b17dd8f4c4dac18ae2b5" args="(const KService &amp;_service, const KURL::List &amp;_urls, bool tempFiles)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pid_t KRun::run           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classKService.html">KService</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>_service</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const KURL::List &amp;&nbsp;</td>
          <td class="paramname"> <em>_urls</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>tempFiles</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Open a list of URLs with a certain service (application). 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>_service</em>&nbsp;</td><td>the service to run </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>_urls</em>&nbsp;</td><td>the list of URLs, can be empty (app launched without argument) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>tempFiles</em>&nbsp;</td><td>if true and _urls are local files, they will be deleted when the application exits. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>the process id, or 0 on error </dd></dl>

<p>
Definition at line <a class="el" href="krun_8cpp-source.html#l00724">724</a> of file <a class="el" href="krun_8cpp-source.html">krun.cpp</a>.
</div>
</div><p>
<a class="anchor" name="d86a1cb147017c650f441f2a8abbb81f"></a><!-- doxytag: member="KRun::run" ref="d86a1cb147017c650f441f2a8abbb81f" args="(const KService &amp;_service, const KURL::List &amp;_urls, QWidget *window, bool tempFiles=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pid_t KRun::run           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classKService.html">KService</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>_service</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const KURL::List &amp;&nbsp;</td>
          <td class="paramname"> <em>_urls</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" doxygen="qt.tag:" href="qwidget.html">QWidget</a> *&nbsp;</td>
          <td class="paramname"> <em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>tempFiles</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Open a list of URLs with a certain service (application). 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>_service</em>&nbsp;</td><td>the service to run </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>_urls</em>&nbsp;</td><td>the list of URLs, can be empty (app launched without argument) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>window</em>&nbsp;</td><td>The top-level widget of the app that invoked this object. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>tempFiles</em>&nbsp;</td><td>if true and _urls are local files, they will be deleted when the application exits. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>the process id, or 0 on error </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>3.5.2 </dd></dl>

<p>
Definition at line <a class="el" href="krun_8cpp-source.html#l00729">729</a> of file <a class="el" href="krun_8cpp-source.html">krun.cpp</a>.
</div>
</div><p>
<a class="anchor" name="83990b8cb95e5a1440ec63fe8d132e93"></a><!-- doxytag: member="KRun::runCommand" ref="83990b8cb95e5a1440ec63fe8d132e93" args="(const QString &amp;cmd, const QString &amp;execName, const QString &amp;icon)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pid_t KRun::runCommand           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>execName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>icon</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Same as the other <a class="el" href="classKRun.html#cbf97c72c343ef24a427e744d63139bc">runCommand()</a>, but it also takes the name of the binary, to display an error message in case it couldn't find it. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cmd</em>&nbsp;</td><td>must be a shell command. You must not append "&amp;" to it, since the function will do that for you. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>execName</em>&nbsp;</td><td>the name of the executable </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>icon</em>&nbsp;</td><td>icon for app starting notification </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>PID of running command, 0 if it could not be started, 0 - (PID of running command) if command was unsafe for map notification. </dd></dl>

<p>
Definition at line <a class="el" href="krun_8cpp-source.html#l00800">800</a> of file <a class="el" href="krun_8cpp-source.html">krun.cpp</a>.
</div>
</div><p>
<a class="anchor" name="cbf97c72c343ef24a427e744d63139bc"></a><!-- doxytag: member="KRun::runCommand" ref="cbf97c72c343ef24a427e744d63139bc" args="(QString cmd)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pid_t KRun::runCommand           </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a>&nbsp;</td>
          <td class="paramname"> <em>cmd</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Run the given shell command and notifies kicker of the starting of the application. 
<p>
If the program to be called doesn't exist, an error box will be displayed.<p>
Use only when you know the full command line. Otherwise use the other static methods, or KRun's constructor.<p>
<code>_cmd</code> must be a shell command. You must not append "&amp;" to it, since the function will do that for you.<p>
<dl compact><dt><b>Returns:</b></dt><dd>PID of running command, 0 if it could not be started, 0 - (PID of running command) if command was unsafe for map notification. </dd></dl>

<p>
Definition at line <a class="el" href="krun_8cpp-source.html#l00795">795</a> of file <a class="el" href="krun_8cpp-source.html">krun.cpp</a>.
</div>
</div><p>
<a class="anchor" name="d897535fa88959dd80adf9afb0a4e447"></a><!-- doxytag: member="KRun::runURL" ref="d897535fa88959dd80adf9afb0a4e447" args="(const KURL &amp;_url, const QString &amp;_mimetype, bool tempFile, bool runExecutables, const QString &amp;suggestedFileName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pid_t KRun::runURL           </td>
          <td>(</td>
          <td class="paramtype">const KURL &amp;&nbsp;</td>
          <td class="paramname"> <em>_url</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>_mimetype</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>tempFile</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>runExecutables</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>suggestedFileName</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Since:</b></dt><dd>3.5.3 </dd></dl>

<p>
Definition at line <a class="el" href="krun_8cpp-source.html#l00113">113</a> of file <a class="el" href="krun_8cpp-source.html">krun.cpp</a>.
</div>
</div><p>
<a class="anchor" name="c9b7d470640917274f3091c6e3eb305e"></a><!-- doxytag: member="KRun::runURL" ref="c9b7d470640917274f3091c6e3eb305e" args="(const KURL &amp;_url, const QString &amp;_mimetype, bool tempFile, bool runExecutables)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pid_t KRun::runURL           </td>
          <td>(</td>
          <td class="paramtype">const KURL &amp;&nbsp;</td>
          <td class="paramname"> <em>_url</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>_mimetype</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>tempFile</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>runExecutables</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Open the given URL. 
<p>
This function is used after the mime type is found out. It will search for all services which can handle the mime type and call <a class="el" href="classKRun.html#d86a1cb147017c650f441f2a8abbb81f">run()</a> afterwards. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>_url</em>&nbsp;</td><td>the URL to open </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>_mimetype</em>&nbsp;</td><td>the mime type of the resource </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>tempFile</em>&nbsp;</td><td>if true and _url is a local file, it will be deleted when the launched application exits. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>runExecutables</em>&nbsp;</td><td>if false then local .desktop files, executables and shell scripts will not be run. See also <a class="el" href="classKRun.html#be21b7573533035c6613ebca1bf0dd18">isExecutable()</a>. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>the process id, or 0 on error </dd></dl>

<p>
Definition at line <a class="el" href="krun_8cpp-source.html#l00092">92</a> of file <a class="el" href="krun_8cpp-source.html">krun.cpp</a>.
</div>
</div><p>
<a class="anchor" name="b5e7b0ec20b3986a66158b1a15f9fdef"></a><!-- doxytag: member="KRun::setAutoDelete" ref="b5e7b0ec20b3986a66158b1a15f9fdef" args="(bool b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KRun::setAutoDelete           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>b</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Enables or disabled auto deletion. 
<p>
Auto deletion causes the <a class="el" href="classKRun.html">KRun</a> instance to delete itself when it finished its task. If you allocate the <a class="el" href="classKRun.html">KRun</a> object on the stack you must disable auto deletion. By default auto deletion is on. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>b</em>&nbsp;</td><td>true to enable auto deletion, false to disable </td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="krun_8h-source.html#l00160">160</a> of file <a class="el" href="krun_8h-source.html">krun.h</a>.
</div>
</div><p>
<a class="anchor" name="6a9a9f87d73a222e02a54f20e10d707f"></a><!-- doxytag: member="KRun::setEnableExternalBrowser" ref="6a9a9f87d73a222e02a54f20e10d707f" args="(bool b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KRun::setEnableExternalBrowser           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>b</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets whether the external webbrowser setting should be honoured. 
<p>
This is enabled by default. This should only be disabled in webbrowser applications. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>b</em>&nbsp;</td><td>whether to enable the external browser or not. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Since:</b></dt><dd>3.4 </dd></dl>

<p>
Definition at line <a class="el" href="krun_8cpp-source.html#l01285">1285</a> of file <a class="el" href="krun_8cpp-source.html">krun.cpp</a>.
</div>
</div><p>
<a class="anchor" name="84f99406c29dc580299e25ea779c100c"></a><!-- doxytag: member="KRun::setPreferredService" ref="84f99406c29dc580299e25ea779c100c" args="(const QString &amp;desktopEntryName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KRun::setPreferredService           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>desktopEntryName</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the preferred service for opening this URL, after its mimetype will have been found by <a class="el" href="classKRun.html">KRun</a>. 
<p>
IMPORTANT: the service is only used if its configuration says it can handle this mimetype. This is used for instance for the X-KDE-LastOpenedWith key, for the recent documents list. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>desktopEntryName</em>&nbsp;</td><td>the desktopEntryName of the service, e.g. "kate". </td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="krun_8cpp-source.html#l01293">1293</a> of file <a class="el" href="krun_8cpp-source.html">krun.cpp</a>.
</div>
</div><p>
<a class="anchor" name="67257f7b3e7feef8b16d49485fd221f5"></a><!-- doxytag: member="KRun::setRunExecutables" ref="67257f7b3e7feef8b16d49485fd221f5" args="(bool b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KRun::setRunExecutables           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>b</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets whether executables, .desktop files or shell scripts should be run by <a class="el" href="classKRun.html">KRun</a>. 
<p>
This is enabled by default. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>b</em>&nbsp;</td><td>whether to run executable files or not. </td></tr>
  </table>
</dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classKRun.html#be21b7573533035c6613ebca1bf0dd18">isExecutable()</a> </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>
Definition at line <a class="el" href="krun_8cpp-source.html#l01298">1298</a> of file <a class="el" href="krun_8cpp-source.html">krun.cpp</a>.
</div>
</div><p>
<a class="anchor" name="768ff89c98ff1315e002dac28f40cc1d"></a><!-- doxytag: member="KRun::setSuggestedFileName" ref="768ff89c98ff1315e002dac28f40cc1d" args="(const QString &amp;fileName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KRun::setSuggestedFileName           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>fileName</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the file name to use in the case of downloading the file to a tempfile in order to give to a non-url-aware application. 
<p>
Some apps rely on the extension to determine the mimetype of the file. Usually the file name comes from the URL, but in the case of the HTTP Content-Disposition header, we need to override the file name. <dl compact><dt><b>Since:</b></dt><dd>3.5.3 </dd></dl>

<p>
Definition at line <a class="el" href="krun_8cpp-source.html#l01303">1303</a> of file <a class="el" href="krun_8cpp-source.html">krun.cpp</a>.
</div>
</div><p>
<a class="anchor" name="1460a9e90e2002bc1448e8824800da97"></a><!-- doxytag: member="KRun::shellQuote" ref="1460a9e90e2002bc1448e8824800da97" args="(QString &amp;_str)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KRun::shellQuote           </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>_str</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Quotes a string for the shell. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>_str</em>&nbsp;</td><td>the string to quote. The quoted string will be written here </td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="krun_8cpp-source.html#l00220">220</a> of file <a class="el" href="krun_8cpp-source.html">krun.cpp</a>.
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="259e6cbfe56fd75f66816df50e77ef01"></a><!-- doxytag: member="KRun::m_bInit" ref="259e6cbfe56fd75f66816df50e77ef01" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classKRun.html#259e6cbfe56fd75f66816df50e77ef01">KRun::m_bInit</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
USed to indicate that the next action is to initialize. 
<p>
This action is invoked from slotTimeout 
<p>
Definition at line <a class="el" href="krun_8h-source.html#l00432">432</a> of file <a class="el" href="krun_8h-source.html">krun.h</a>.
</div>
</div><p>
<a class="anchor" name="13ae5ae5f6020360eea6e2d8ab20b62a"></a><!-- doxytag: member="KRun::m_bScanFile" ref="13ae5ae5f6020360eea6e2d8ab20b62a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classKRun.html#13ae5ae5f6020360eea6e2d8ab20b62a">KRun::m_bScanFile</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Used to indicate that the next action is to scan the file. 
<p>
This action is invoked from slotTimeout. 
<p>
Definition at line <a class="el" href="krun_8h-source.html#l00425">425</a> of file <a class="el" href="krun_8h-source.html">krun.h</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="krun_8h-source.html">krun.h</a><li><a class="el" href="krun_8cpp-source.html">krun.cpp</a></ul>
    </div></div>


      </td>
  </tr>
  <tr>
    <td valign="top" id="leftmenu" width="25%">
      <a name="navigation"></a>
      <div class="menu_box"><h2>kio/kio</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</a></li><li><a href="modules.html">Modules</a></li><li><a href="namespaces.html">Namespace List</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="namespacemembers.html">Namespace Members</a></li><li><a href="functions.html">Class Members</a></li><li><a href="pages.html">Related Pages</a></li></ul>
<!--
<h2>Class Picker</h2>
<div style="text-align: center;">
<form name="guideform">
<select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">
<option value="annotated.html">-- Choose --</option>
  <option value="classKACL.html">kacl</option>,  <option value="classKAr.html">kar</option>,  <option value="classKArchive.html">karchive</option>,  <option value="classKArchiveDirectory.html">karchivedirectory</option>,  <option value="classKArchiveEntry.html">karchiveentry</option>,  <option value="classKArchiveFile.html">karchivefile</option>,  <option value="classKAutoMount.html">kautomount</option>,  <option value="classKAutoUnmount.html">kautounmount</option>,  <option value="classKDataTool.html">kdatatool</option>,  <option value="classKDataToolAction.html">kdatatoolaction</option>,  <option value="classKDataToolInfo.html">kdatatoolinfo</option>,  <option value="classKDCOPServiceStarter.html">kdcopservicestarter</option>,  <option value="classKDEDesktopMimeType.html">kdedesktopmimetype</option>,  <option value="classKDirLister.html">kdirlister</option>,  <option value="classKDirNotify.html">kdirnotify</option>,  <option value="classKDirNotify__stub.html">kdirnotify__stub</option>,  <option value="classKDirWatch.html">kdirwatch</option>,  <option value="classKEMailSettings.html">kemailsettings</option>,  <option value="classKExecMimeType.html">kexecmimetype</option>,  <option value="classKFileFilter.html">kfilefilter</option>,  <option value="classKFileItem.html">kfileitem</option>,  <option value="classKFileMetaInfo.html">kfilemetainfo</option>,  <option value="classKFileMetaInfoGroup.html">kfilemetainfogroup</option>,  <option value="classKFileMetaInfoItem.html">kfilemetainfoitem</option>,  <option value="classKFileMetaInfoProvider.html">kfilemetainfoprovider</option>,  <option value="classKFileMimeTypeInfo.html">kfilemimetypeinfo</option>,  <option value="classKFileMimeTypeInfo_1_1GroupInfo.html">kfilemimetypeinfo::groupinfo</option>,  <option value="classKFileMimeTypeInfo_1_1ItemInfo.html">kfilemimetypeinfo::iteminfo</option>,  <option value="classKFilePlugin.html">kfileplugin</option>,  <option value="classKFileShare.html">kfileshare</option>,  <option value="classKFileSharePrivate.html">kfileshareprivate</option>,  <option value="classKFilterBase.html">kfilterbase</option>,  <option value="classKFilterDev.html">kfilterdev</option>,  <option value="classKFolderType.html">kfoldertype</option>,  <option value="classKImageIO.html">kimageio</option>,  <option value="classKImageIOFactory.html">kimageiofactory</option>,  <option value="classKImageIOFormat.html">kimageioformat</option>,  <option value="classKImageIOFormatList.html">kimageioformatlist</option>,  <option value="classKIO_1_1AuthInfo.html">kio::authinfo</option>,  <option value="classKIO_1_1ChmodJob.html">kio::chmodjob</option>,  <option value="classKIO_1_1Connection.html">kio::connection</option>,  <option value="classKIO_1_1CopyJob.html">kio::copyjob</option>,  <option value="classKIO_1_1DataProtocol.html">kio::dataprotocol</option>,  <option value="classKIO_1_1DataSlave.html">kio::dataslave</option>,  <option value="classKIO_1_1DavJob.html">kio::davjob</option>,  <option value="classKIO_1_1DefaultProgress.html">kio::defaultprogress</option>,  <option value="classKIO_1_1DeleteJob.html">kio::deletejob</option>,  <option value="classKIO_1_1DirectCopyJob.html">kio::directcopyjob</option>,  <option value="classKIO_1_1FileCopyJob.html">kio::filecopyjob</option>,  <option value="classKIO_1_1ForwardingSlaveBase.html">kio::forwardingslavebase</option>,  <option value="classKIO_1_1Job.html">kio::job</option>,  <option value="classKIO_1_1ListJob.html">kio::listjob</option>,  <option value="classKIO_1_1MetaData.html">kio::metadata</option>,  <option value="classKIO_1_1MetaInfoJob.html">kio::metainfojob</option>,  <option value="classKIO_1_1MimetypeJob.html">kio::mimetypejob</option>,  <option value="classKIO_1_1MkdirJob.html">kio::mkdirjob</option>,  <option value="classKIO_1_1MultiGetJob.html">kio::multigetjob</option>,  <option value="classKIO_1_1NetAccess.html">kio::netaccess</option>,  <option value="classKIO_1_1NetRC.html">kio::netrc</option>,  <option value="classKIO_1_1ParseContext.html">kio::parsecontext</option>,  <option value="classKIO_1_1ParseTreeAND.html">kio::parsetreeand</option>,  <option value="classKIO_1_1ParseTreeBase.html">kio::parsetreebase</option>,  <option value="classKIO_1_1ParseTreeBOOL.html">kio::parsetreebool</option>,  <option value="classKIO_1_1ParseTreeBRACKETS.html">kio::parsetreebrackets</option>,  <option value="classKIO_1_1ParseTreeCALC.html">kio::parsetreecalc</option>,  <option value="classKIO_1_1ParseTreeCMP.html">kio::parsetreecmp</option>,  <option value="classKIO_1_1ParseTreeDOUBLE.html">kio::parsetreedouble</option>,  <option value="classKIO_1_1ParseTreeEXIST.html">kio::parsetreeexist</option>,  <option value="classKIO_1_1ParseTreeID.html">kio::parsetreeid</option>,  <option value="classKIO_1_1ParseTreeIN.html">kio::parsetreein</option>,  <option value="classKIO_1_1ParseTreeMATCH.html">kio::parsetreematch</option>,  <option value="classKIO_1_1ParseTreeMAX2.html">kio::parsetreemax2</option>,  <option value="classKIO_1_1ParseTreeMIN2.html">kio::parsetreemin2</option>,  <option value="classKIO_1_1ParseTreeNOT.html">kio::parsetreenot</option>,  <option value="classKIO_1_1ParseTreeNUM.html">kio::parsetreenum</option>,  <option value="classKIO_1_1ParseTreeOR.html">kio::parsetreeor</option>,  <option value="classKIO_1_1ParseTreeSTRING.html">kio::parsetreestring</option>,  <option value="classKIO_1_1PasswordDialog.html">kio::passworddialog</option>,  <option value="classKIO_1_1PasteDialog.html">kio::pastedialog</option>,  <option value="classKIO_1_1PreviewJob.html">kio::previewjob</option>,  <option value="classKIO_1_1ProgressBase.html">kio::progressbase</option>,  <option value="classKIO_1_1RenameDlg.html">kio::renamedlg</option>,  <option value="classKIO_1_1Scheduler.html">kio::scheduler</option>,  <option value="classKIO_1_1SessionData.html">kio::sessiondata</option>,  <option value="classKIO_1_1SimpleJob.html">kio::simplejob</option>,  <option value="classKIO_1_1SkipDlg.html">kio::skipdlg</option>,  <option value="classKIO_1_1Slave.html">kio::slave</option>,  <option value="classKIO_1_1SlaveBase.html">kio::slavebase</option>,  <option value="classKIO_1_1SlaveConfig.html">kio::slaveconfig</option>,  <option value="classKIO_1_1SlaveInterface.html">kio::slaveinterface</option>,  <option value="classKIO_1_1StatJob.html">kio::statjob</option>,  <option value="classKIO_1_1StatusbarProgress.html">kio::statusbarprogress</option>,  <option value="classKIO_1_1StoredTransferJob.html">kio::storedtransferjob</option>,  <option value="classKIO_1_1TCPSlaveBase.html">kio::tcpslavebase</option>,  <option value="classKIO_1_1TransferJob.html">kio::transferjob</option>,  <option value="classKIO_1_1UDSAtom.html">kio::udsatom</option>,  <option value="classKLimitedIODevice.html">klimitediodevice</option>,  <option value="classKMessageBoxWrapper.html">kmessageboxwrapper</option>,  <option value="classKMimeMagic.html">kmimemagic</option>,  <option value="classKMimeMagicResult.html">kmimemagicresult</option>,  <option value="classKMimeType.html">kmimetype</option>,  <option value="classKMimeTypeChooser.html">kmimetypechooser</option>,  <option value="classKMimeTypeChooserDialog.html">kmimetypechooserdialog</option>,  <option value="classKMimeTypeResolver.html">kmimetyperesolver</option>,  <option value="classKMimeTypeResolverBase.html">kmimetyperesolverbase</option>,  <option value="classKMimeTypeResolverHelper.html">kmimetyperesolverhelper</option>,  <option value="classKNFSShare.html">knfsshare</option>,  <option value="classKOCRDialog.html">kocrdialog</option>,  <option value="classKOCRDialogFactory.html">kocrdialogfactory</option>,  <option value="classKOpenWithHandler.html">kopenwithhandler</option>,  <option value="classKProcessRunner.html">kprocessrunner</option>,  <option value="classKProtocolInfo.html">kprotocolinfo</option>,  <option value="classKProtocolManager.html">kprotocolmanager</option>,  <option value="classKRemoteEncoding.html">kremoteencoding</option>,  <option value="classKRun.html">krun</option>,  <option value="classKSambaShare.html">ksambashare</option>,  <option value="classKScanDialog.html">kscandialog</option>,  <option value="classKScanDialogFactory.html">kscandialogfactory</option>,  <option value="classKService.html">kservice</option>,  <option value="classKServiceFactory.html">kservicefactory</option>,  <option value="classKServiceGroup.html">kservicegroup</option>,  <option value="classKServiceGroupFactory.html">kservicegroupfactory</option>,  <option value="classKServiceOffer.html">kserviceoffer</option>,  <option value="classKServiceSeparator.html">kserviceseparator</option>,  <option value="classKServiceType.html">kservicetype</option>,  <option value="classKServiceTypeFactory.html">kservicetypefactory</option>,  <option value="classKServiceTypeProfile.html">kservicetypeprofile</option>,  <option value="classKShellCompletion.html">kshellcompletion</option>,  <option value="classKShred.html">kshred</option>,  <option value="classKSimpleFileFilter.html">ksimplefilefilter</option>,  <option value="classKTar.html">ktar</option>,  <option value="classKTrader.html">ktrader</option>,  <option value="classKURIFilter.html">kurifilter</option>,  <option value="classKURIFilterData.html">kurifilterdata</option>,  <option value="classKURIFilterPlugin.html">kurifilterplugin</option>,  <option value="classKURIFilterPluginList.html">kurifilterpluginlist</option>,  <option value="classKURLCompletion.html">kurlcompletion</option>,  <option value="classKURLPixmapProvider.html">kurlpixmapprovider</option>,  <option value="classKZip.html">kzip</option>,  <option value="classKZipFileEntry.html">kzipfileentry</option>,  <option value="classObserver.html">observer</option>,  <option value="classObserver__stub.html">observer__stub</option>,  <option value="classRenameDlgPlugin.html">renamedlgplugin</option>,  <option value="classThumbCreator.html">thumbcreator</option>,  <option value="classUIServer__stub.html">uiserver__stub</option>,
</select>
</form>
</div>
-->
</div></div>
<div class="menu_box"><h2>API Dox</h2>
<div class="nav_list">
<ul>
<li><a href="../../../arts/html/index.html">arts</a></li><li><a href="../../../dcop/html/index.html">dcop</a></li><li><a href="../../../dnssd/html/index.html">dnssd</a></li><li><a href="../../../interfaces/html/index.html">interfaces</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../../interfaces/kimproxy/library/html/index.html">library</a></li><li>&nbsp;&nbsp;<a href="../../../interfaces/kspeech/html/index.html">kspeech</a></li><li>&nbsp;&nbsp;<a href="../../../interfaces/ktexteditor/html/index.html">ktexteditor</a></li><li><a href="../../../kabc/html/index.html">kabc</a></li><li><a href="../../../kate/html/index.html">kate</a></li><li><a href="../../../kcmshell/html/index.html">kcmshell</a></li><li><a href="../../../kdecore/html/index.html">kdecore</a></li><li><a href="../../../kded/html/index.html">kded</a></li><li><a href="../../../kdefx/html/index.html">kdefx</a></li><li><a href="../../../kdeprint/html/index.html">kdeprint</a></li><li><a href="../../../kdesu/html/index.html">kdesu</a></li><li><a href="../../../kdeui/html/index.html">kdeui</a></li><li><a href="../../../kdoctools/html/index.html">kdoctools</a></li><li><a href="../../../khtml/html/index.html">khtml</a></li><li><a href="../../../kimgio/html/index.html">kimgio</a></li><li><a href="../../../kinit/html/index.html">kinit</a></li><li><a href="../../../kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../../kio/bookmarks/html/index.html">bookmarks</a></li><li>&nbsp;&nbsp;<a href="../../../kio/httpfilter/html/index.html">httpfilter</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kfile/html/index.html">kfile</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kioexec/html/index.html">kioexec</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../../kioslave/html/index.html">kioslave</a></li><li>&nbsp;&nbsp;<a href="../../../kioslave/http/html/index.html">http</a></li><li><a href="../../../kjs/html/index.html">kjs</a></li><li><a href="../../../kmdi/html/index.html">kmdi</a></li><li>&nbsp;&nbsp;<a href="../../../kmdi/kmdi/html/index.html">kmdi</a></li><li><a href="../../../knewstuff/html/index.html">knewstuff</a></li><li><a href="../../../kparts/html/index.html">kparts</a></li><li><a href="../../../kresources/html/index.html">kresources</a></li><li><a href="../../../kspell2/html/index.html">kspell2</a></li><li><a href="../../../kunittest/html/index.html">kunittest</a></li><li><a href="../../../kutils/html/index.html">kutils</a></li><li><a href="../../../kwallet/html/index.html">kwallet</a></li><li><a href="../../../libkmid/html/index.html">libkmid</a></li><li><a href="../../../libkscreensaver/html/index.html">libkscreensaver</a></li>
</ul></div></div>


        </td>
</tr>
</table>

<span class="doNotDisplay">
  <a href="http://www.kde.org/" accesskey="8">KDE Home</a> |
  <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> |
  <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a>
</span>


<div style="height: 8px"></div>

<div id="footer">
  <div id="footer_left">
    Maintained by <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;groo&#116;&#64;kde&#46;or&#x67;">Adriaan de Groot</a>
and
<a href="&#109;a&#105;&#108;&#116;&#111;&#58;w&#105;nter&#116;&#64;kde&#46;or&#x67">Allen Winter</a>.
<br/>
    KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
    <a href="http://www.kde.org/contact/impressum.php">Legal</a>
  </div>
  <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div>
</div>

<!--
WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL
BE BLOCKED INSTANTLY AND PERMANENTLY!
<a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a>
WARNING END
-->

</body>
</html>