Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 1f9eb832ba1e4b88d9a5c2b384813bb4 > files > 5311

kdelibs3-apidocs-3.5.10-31.fc15.noarch.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: KProtocolManager 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.7.4 -->
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">KProtocolManager Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="KProtocolManager" -->
<p>Provides information about I/O (Internet, etc.) settings chosen/set by the end user.  
 <a href="classKProtocolManager.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="kprotocolmanager_8h_source.html">kprotocolmanager.h</a>&gt;</code></p>

<p><a href="classKProtocolManager-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#a8fbb5fcd2be5754acb17ce73971e7259">ProxyType</a> { <br/>
&#160;&#160;<b>NoProxy</b>, 
<b>ManualProxy</b>, 
<b>PACProxy</b>, 
<b>WPADProxy</b>, 
<br/>
&#160;&#160;<b>EnvVarProxy</b>
<br/>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#a07bf8da21e078ed8b26312ed584b14be">ProxyAuthMode</a> { <b>Prompt</b>, 
<b>Automatic</b>
 }</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#af9b132fba4f892f8441ef7ffca4fcfa9">defaultUserAgent</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#a3706826134fa0703b0923767084458ad">defaultUserAgent</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;keys)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#ace2ef890e1eb6b3674d2f38f3e445922">userAgentForHost</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;hostname)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#af11a2a129b0d1f41327412189af4f1e8">readTimeout</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#aafd53cb1280a0dc542df3d3cabeaf5da">connectTimeout</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#a1cf37a12313f42451128f2b75b8d914b">proxyConnectTimeout</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#aefcc7ad4545e1638b9cbf80b38d69dca">responseTimeout</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#a9ba30cdcf7684d20e03f336f2a61afdc">useProxy</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#a14527a12b04fea69490657c782167860">useReverseProxy</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classKProtocolManager.html#a8fbb5fcd2be5754acb17ce73971e7259">ProxyType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#af77ebda1387f9b003681be18d0da7c3f">proxyType</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classKProtocolManager.html#a07bf8da21e078ed8b26312ed584b14be">ProxyAuthMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#aa2bc1d406fe489d2c4a9bced0fc999e7">proxyAuthMode</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#af07baaa8ef39430c8f8b50fa0c393cd5">noProxyFor</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#a92511abb98b666857dedac2df8963dda">noProxyForRaw</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#a0fdf75ebbabc5962bdc443d51d190fe0">proxyFor</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;protocol)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#ac7215520dc73c15f79e8785158ccf104">proxyForURL</a> (const KURL &amp;url)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#a9472fe705835cb7f6177bb2811cad5ff">badProxy</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;proxy)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#a800405083f9bd2b2fc486355e51e72bf">proxyConfigScript</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#a0a10720b747612a67998bfa5550e085a">useCache</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#aef65ebe250c70d0057e574984425dd6c">maxCacheAge</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#aacbdeb80c9e4d49fbd593db5f6b5c45a">maxCacheSize</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#a762645ad3b7035c067897302eb7e267a">cacheDir</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespaceKIO.html#ab5bfb111419deab71b65dce326c73dfa">KIO::CacheControl</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#a7e736a17431be4068ceef4e9911f1681">cacheControl</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#ab242c9eb6e518e6fbb96a28f67d2bc9c">autoResume</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#ab3c33f9906075614c1bba97f89c1028a">markPartial</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#ade4d949c185ee1b07db2949e4ce9487f">minimumKeepSize</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#a7fcb7a71aa1a6606e289cb4c85e2907c">persistentProxyConnection</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#a96f34fa16a18c65a874869fb35966558">persistentConnections</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#ae47f50eb9d49d888e9640e73b0514b6a">reparseConfiguration</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKProtocolManager.html#a69333ead11e84142b2b69fa8e99fa418">slaveProtocol</a> (const KURL &amp;url, <a class="elRef" href="qstring.html">QString</a> &amp;proxy)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8959bf3fecfc59d771a6f0cc10c4ce92"></a><!-- doxytag: member="KProtocolManager::config" ref="a8959bf3fecfc59d771a6f0cc10c4ce92" args="()" -->
static KConfig *&#160;</td><td class="memItemRight" valign="bottom"><b>config</b> ()</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Provides information about I/O (Internet, etc.) settings chosen/set by the end user. </p>
<p><a class="el" href="classKProtocolManager.html" title="Provides information about I/O (Internet, etc.) settings chosen/set by the end user.">KProtocolManager</a> has a heap of static functions that allows only read access to KDE's IO related settings. These include proxy, cache, file transfer resumption, timeout and user-agent related settings.</p>
<p>The information provided by this class is generic enough to be applicable to any application that makes use of KDE's IO sub-system. Note that this mean the proxy, timeout etc. settings are saved in a separate user-specific config file and not in the config file of the application.</p>
<p>Original author: </p>
<dl class="author"><dt><b>Author:</b></dt><dd>Torben Weis &lt;<a href="mailto:weis@kde.org">weis@kde.org</a>&gt;</dd></dl>
<p>Revised by: </p>
<dl class="author"><dt><b>Author:</b></dt><dd>Waldo Bastain &lt;<a href="mailto:bastain@kde.org">bastain@kde.org</a>&gt; </dd>
<dd>
Dawit Alemayehu &lt;<a href="mailto:adawit@kde.org">adawit@kde.org</a>&gt; </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd>KPAC </dd></dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8h_source.html#l00054">54</a> of file <a class="el" href="kprotocolmanager_8h_source.html">kprotocolmanager.h</a>.</p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a07bf8da21e078ed8b26312ed584b14be"></a><!-- doxytag: member="KProtocolManager::ProxyAuthMode" ref="a07bf8da21e078ed8b26312ed584b14be" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classKProtocolManager.html#a07bf8da21e078ed8b26312ed584b14be">KProtocolManager::ProxyAuthMode</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Proxy authorization modes. </p>
<ul>
<li>Prompt - Ask for authorization as needed </li>
<li>Automatic - Use auto login as defined in .kionetrc files.</li>
</ul>
<p>NOTE: .kionetrc files have the same format as ftp .netrc files. Please note the use of .kionetrc files is highly discouraged since password is stored in clear text. For future releases the ability to store preset password for proxy servers will probably be supported through KWallet integration. </p>

<p>Definition at line <a class="el" href="kprotocolmanager_8h_source.html#l00194">194</a> of file <a class="el" href="kprotocolmanager_8h_source.html">kprotocolmanager.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8fbb5fcd2be5754acb17ce73971e7259"></a><!-- doxytag: member="KProtocolManager::ProxyType" ref="a8fbb5fcd2be5754acb17ce73971e7259" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classKProtocolManager.html#a8fbb5fcd2be5754acb17ce73971e7259">KProtocolManager::ProxyType</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Types of proxy configuration. </p>
<ul>
<li>NoProxy - No proxy is used </li>
<li>ManualProxy - Proxies are manually configured </li>
<li>PACProxy - A Proxy configuration URL has been given </li>
<li>WPADProxy - A proxy should be automatically discovered </li>
<li>EnvVarProxy - Use the proxy values set through environment variables. </li>
</ul>

<p>Definition at line <a class="el" href="kprotocolmanager_8h_source.html#l00166">166</a> of file <a class="el" href="kprotocolmanager_8h_source.html">kprotocolmanager.h</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ab242c9eb6e518e6fbb96a28f67d2bc9c"></a><!-- doxytag: member="KProtocolManager::autoResume" ref="ab242c9eb6e518e6fbb96a28f67d2bc9c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KProtocolManager::autoResume </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns true if partial downloads should be automatically resumed. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true to resume partial downloads </dd></dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00508">508</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9472fe705835cb7f6177bb2811cad5ff"></a><!-- doxytag: member="KProtocolManager::badProxy" ref="a9472fe705835cb7f6177bb2811cad5ff" args="(const QString &amp;proxy)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KProtocolManager::badProxy </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>proxy</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Marks this proxy as bad (down). </p>
<p>It will not be used for the next 30 minutes. (The script may supply an alternate proxy) </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">proxy</td><td>the proxy to mark as bad (as URL) </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00283">283</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7e736a17431be4068ceef4e9911f1681"></a><!-- doxytag: member="KProtocolManager::cacheControl" ref="a7e736a17431be4068ceef4e9911f1681" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceKIO.html#ab5bfb111419deab71b65dce326c73dfa">KIO::CacheControl</a> KProtocolManager::cacheControl </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the Cache control directive to be used. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the cache control value </dd></dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00180">180</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a762645ad3b7035c067897302eb7e267a"></a><!-- doxytag: member="KProtocolManager::cacheDir" ref="a762645ad3b7035c067897302eb7e267a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KProtocolManager::cacheDir </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The directory which contains the cache files. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the directory that contains the cache files </dd></dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00189">189</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aafd53cb1280a0dc542df3d3cabeaf5da"></a><!-- doxytag: member="KProtocolManager::connectTimeout" ref="aafd53cb1280a0dc542df3d3cabeaf5da" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KProtocolManager::connectTimeout </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the preferred timeout value for remote connections in seconds. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>timeout value for remote connection in secs. </dd></dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00120">120</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af9b132fba4f892f8441ef7ffca4fcfa9"></a><!-- doxytag: member="KProtocolManager::defaultUserAgent" ref="af9b132fba4f892f8441ef7ffca4fcfa9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KProtocolManager::defaultUserAgent </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the default user-agent string. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the default user-agent string </dd></dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00434">434</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a3706826134fa0703b0923767084458ad"></a><!-- doxytag: member="KProtocolManager::defaultUserAgent" ref="a3706826134fa0703b0923767084458ad" args="(const QString &amp;keys)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KProtocolManager::defaultUserAgent </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>keys</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the default user-agent value. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">keys</td><td>can be any of the following: <ul>
<li>'o' Show OS </li>
<li>'v' Show OS Version </li>
<li>'p' Show platform </li>
<li>'m' Show machine architecture </li>
<li>'l' Show language </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the default user-agent value with the given <code>keys</code> </dd></dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00440">440</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab3c33f9906075614c1bba97f89c1028a"></a><!-- doxytag: member="KProtocolManager::markPartial" ref="ab3c33f9906075614c1bba97f89c1028a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KProtocolManager::markPartial </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns true if partial downloads should be marked with a ".part" extension. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if partial downloads should get an ".part" extension </dd></dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00493">493</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aef65ebe250c70d0057e574984425dd6c"></a><!-- doxytag: member="KProtocolManager::maxCacheAge" ref="aef65ebe250c70d0057e574984425dd6c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KProtocolManager::maxCacheAge </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the maximum age in seconds cached files should be kept before they are deleted as necessary. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the maximum cache age in seconds </dd></dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00195">195</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aacbdeb80c9e4d49fbd593db5f6b5c45a"></a><!-- doxytag: member="KProtocolManager::maxCacheSize" ref="aacbdeb80c9e4d49fbd593db5f6b5c45a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KProtocolManager::maxCacheSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the maximum size that can be used for caching. </p>
<p>By default this function returns the DEFAULT_MAX_CACHE_SIZE value as defined in <a class="el" href="http__slave__defaults_8h_source.html">http_slave_defaults.h</a>. Not that the value returned is in bytes, hence a value of 5120 would mean 5 Kb.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the maximum cache size in bytes </dd></dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00201">201</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ade4d949c185ee1b07db2949e4ce9487f"></a><!-- doxytag: member="KProtocolManager::minimumKeepSize" ref="ade4d949c185ee1b07db2949e4ce9487f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KProtocolManager::minimumKeepSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the minimum file size for keeping aborted downloads. </p>
<p>Any data downloaded that does not meet this minimum requirement will simply be discarded. The default size is 5 KB.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the minimum keep size for aborted downloads in bytes </dd></dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00500">500</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af07baaa8ef39430c8f8b50fa0c393cd5"></a><!-- doxytag: member="KProtocolManager::noProxyFor" ref="af07baaa8ef39430c8f8b50fa0c393cd5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KProtocolManager::noProxyFor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a comma-separated list of hostnames or partial host-names that should bypass any proxy settings. </p>
<p>This function as well as <a class="el" href="classKProtocolManager.html#a14527a12b04fea69490657c782167860">useReverseProxy</a> only apply when <a class="el" href="classKProtocolManager.html#af77ebda1387f9b003681be18d0da7c3f">proxyType</a> is <code>ManualProxy</code>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKProtocolManager.html#a14527a12b04fea69490657c782167860" title="Returns true if the proxy settings should apply to the list returned by noProxyFor.">useReverseProxy</a>, <a class="el" href="classKProtocolManager.html#a0fdf75ebbabc5962bdc443d51d190fe0" title="Returns the proxy server address for a given protocol.">proxyFor</a>, <a class="el" href="classKProtocolManager.html#ac7215520dc73c15f79e8785158ccf104" title="Returns the proxy server address for a given URL.">proxyForURL</a>, <a class="el" href="classKProtocolManager.html#a69333ead11e84142b2b69fa8e99fa418" title="Return the protocol to use in order to handle the given url It&#39;s usually the same, except that FTP, when handled by a proxy, needs an HTTP ioslave.">slaveProtocol</a> </dd></dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00215">215</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a92511abb98b666857dedac2df8963dda"></a><!-- doxytag: member="KProtocolManager::noProxyForRaw" ref="a92511abb98b666857dedac2df8963dda" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KProtocolManager::noProxyForRaw </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Same as above except the environment variable name is returned instead of the variable value when <a class="el" href="classKProtocolManager.html#af77ebda1387f9b003681be18d0da7c3f">proxyType</a> is <code>EnvVarProxy</code>. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKProtocolManager.html#af07baaa8ef39430c8f8b50fa0c393cd5" title="Returns a comma-separated list of hostnames or partial host-names that should bypass any proxy settin...">noProxyFor</a> </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.5.x </dd></dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00207">207</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a96f34fa16a18c65a874869fb35966558"></a><!-- doxytag: member="KProtocolManager::persistentConnections" ref="a96f34fa16a18c65a874869fb35966558" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KProtocolManager::persistentConnections </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns true if connections should be persistent. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if the connections should be persistent </dd></dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00515">515</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7fcb7a71aa1a6606e289cb4c85e2907c"></a><!-- doxytag: member="KProtocolManager::persistentProxyConnection" ref="a7fcb7a71aa1a6606e289cb4c85e2907c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KProtocolManager::persistentProxyConnection </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns true if proxy connections should be persistent. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if proxy connections should be persistent </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.1 </dd></dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00522">522</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa2bc1d406fe489d2c4a9bced0fc999e7"></a><!-- doxytag: member="KProtocolManager::proxyAuthMode" ref="aa2bc1d406fe489d2c4a9bced0fc999e7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKProtocolManager.html#a07bf8da21e078ed8b26312ed584b14be">KProtocolManager::ProxyAuthMode</a> KProtocolManager::proxyAuthMode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the way proxy authorization should be handled. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKProtocolManager.html#a07bf8da21e078ed8b26312ed584b14be" title="Proxy authorization modes.">ProxyAuthMode</a> </dd></dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00165">165</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a800405083f9bd2b2fc486355e51e72bf"></a><!-- doxytag: member="KProtocolManager::proxyConfigScript" ref="a800405083f9bd2b2fc486355e51e72bf" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KProtocolManager::proxyConfigScript </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the URL of the script for automatic proxy configuration. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the proxy configuration script </dd></dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00529">529</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a1cf37a12313f42451128f2b75b8d914b"></a><!-- doxytag: member="KProtocolManager::proxyConnectTimeout" ref="a1cf37a12313f42451128f2b75b8d914b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KProtocolManager::proxyConnectTimeout </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the preferred timeout value for proxy connections in seconds. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>timeout value for proxy connection in secs. </dd></dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00128">128</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0fdf75ebbabc5962bdc443d51d190fe0"></a><!-- doxytag: member="KProtocolManager::proxyFor" ref="a0fdf75ebbabc5962bdc443d51d190fe0" args="(const QString &amp;protocol)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KProtocolManager::proxyFor </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>protocol</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the proxy server address for a given protocol. </p>
<p>NOTE: This function does not take the <a class="el" href="classKProtocolManager.html#a14527a12b04fea69490657c782167860">useReverseProxy()</a> settings into account.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKProtocolManager.html#a14527a12b04fea69490657c782167860" title="Returns true if the proxy settings should apply to the list returned by noProxyFor.">useReverseProxy</a>, <a class="el" href="classKProtocolManager.html#a69333ead11e84142b2b69fa8e99fa418" title="Return the protocol to use in order to handle the given url It&#39;s usually the same, except that FTP, when handled by a proxy, needs an HTTP ioslave.">slaveProtocol</a> </dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">protocol</td><td>the protocol whose proxy info is needed </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the proxy server address if one is available, or QString::null if not available </dd></dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00224">224</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ac7215520dc73c15f79e8785158ccf104"></a><!-- doxytag: member="KProtocolManager::proxyForURL" ref="ac7215520dc73c15f79e8785158ccf104" args="(const KURL &amp;url)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KProtocolManager::proxyForURL </td>
          <td>(</td>
          <td class="paramtype">const KURL &amp;&#160;</td>
          <td class="paramname"><em>url</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the proxy server address for a given URL. </p>
<p>If <a class="el" href="classKProtocolManager.html#af77ebda1387f9b003681be18d0da7c3f">proxyType</a> returns Automatic, an external service called KPAC (a kded module) is used to determine the proxy server. Otherwise, <a class="el" href="classKProtocolManager.html#a0fdf75ebbabc5962bdc443d51d190fe0">proxyFor</a> is invoked to determine whether the URL needs to be routed through a proxy server.</p>
<p>NOTE: This function does not take the <a class="el" href="classKProtocolManager.html#a14527a12b04fea69490657c782167860">useReverseProxy()</a> or the <a class="el" href="classKProtocolManager.html#af07baaa8ef39430c8f8b50fa0c393cd5">noProxyFor()</a> settings into account.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKProtocolManager.html#a14527a12b04fea69490657c782167860" title="Returns true if the proxy settings should apply to the list returned by noProxyFor.">useReverseProxy</a>, <a class="el" href="classKProtocolManager.html#a69333ead11e84142b2b69fa8e99fa418" title="Return the protocol to use in order to handle the given url It&#39;s usually the same, except that FTP, when handled by a proxy, needs an HTTP ioslave.">slaveProtocol</a>, <a class="el" href="classKProtocolManager.html#af07baaa8ef39430c8f8b50fa0c393cd5" title="Returns a comma-separated list of hostnames or partial host-names that should bypass any proxy settin...">noProxyFor</a> </dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">url</td><td>the URL whose proxy info is needed </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the proxy server address or the text "DIRECT" if no proxying is needed for the given address. </dd></dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00238">238</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af77ebda1387f9b003681be18d0da7c3f"></a><!-- doxytag: member="KProtocolManager::proxyType" ref="af77ebda1387f9b003681be18d0da7c3f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKProtocolManager.html#a8fbb5fcd2be5754acb17ce73971e7259">KProtocolManager::ProxyType</a> KProtocolManager::proxyType </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the type of proxy configuration that is used. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKProtocolManager.html#a8fbb5fcd2be5754acb17ce73971e7259" title="Types of proxy configuration.">ProxyType</a> </dd></dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00158">158</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af11a2a129b0d1f41327412189af4f1e8"></a><!-- doxytag: member="KProtocolManager::readTimeout" ref="af11a2a129b0d1f41327412189af4f1e8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KProtocolManager::readTimeout </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the preferred timeout value for reading from remote connections in seconds. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>timeout value for remote connection in secs. </dd></dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00112">112</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae47f50eb9d49d888e9640e73b0514b6a"></a><!-- doxytag: member="KProtocolManager::reparseConfiguration" ref="ae47f50eb9d49d888e9640e73b0514b6a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KProtocolManager::reparseConfiguration </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Force a reload of the general config file of io-slaves ( kioslaverc). </p>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00078">78</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aefcc7ad4545e1638b9cbf80b38d69dca"></a><!-- doxytag: member="KProtocolManager::responseTimeout" ref="aefcc7ad4545e1638b9cbf80b38d69dca" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KProtocolManager::responseTimeout </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the preferred response timeout value for remote connecting in seconds. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>timeout value for remote connection in seconds. </dd></dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00136">136</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a69333ead11e84142b2b69fa8e99fa418"></a><!-- doxytag: member="KProtocolManager::slaveProtocol" ref="a69333ead11e84142b2b69fa8e99fa418" args="(const KURL &amp;url, QString &amp;proxy)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KProtocolManager::slaveProtocol </td>
          <td>(</td>
          <td class="paramtype">const KURL &amp;&#160;</td>
          <td class="paramname"><em>url</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>proxy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the protocol to use in order to handle the given <code>url</code> It's usually the same, except that FTP, when handled by a proxy, needs an HTTP ioslave. </p>
<p>When a proxy is to be used, proxy contains the URL for the proxy. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">url</td><td>the url to check </td></tr>
    <tr><td class="paramname">proxy</td><td>the URL of the proxy to use </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the slave protocol (e.g. 'http'), can be null if unknown </dd></dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00329">329</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0a10720b747612a67998bfa5550e085a"></a><!-- doxytag: member="KProtocolManager::useCache" ref="a0a10720b747612a67998bfa5550e085a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KProtocolManager::useCache </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns true/false to indicate whether a cache should be used. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true to use the cache, false otherwisea </dd></dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00174">174</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9ba30cdcf7684d20e03f336f2a61afdc"></a><!-- doxytag: member="KProtocolManager::useProxy" ref="a9ba30cdcf7684d20e03f336f2a61afdc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KProtocolManager::useProxy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns true if the user specified a proxy server to make connections. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKProtocolManager.html#a69333ead11e84142b2b69fa8e99fa418" title="Return the protocol to use in order to handle the given url It&#39;s usually the same, except that FTP, when handled by a proxy, needs an HTTP ioslave.">slaveProtocol</a>, <a class="el" href="classKProtocolManager.html#ac7215520dc73c15f79e8785158ccf104" title="Returns the proxy server address for a given URL.">proxyForURL</a>, <a class="el" href="classKProtocolManager.html#a0fdf75ebbabc5962bdc443d51d190fe0" title="Returns the proxy server address for a given protocol.">proxyFor</a> </dd></dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00146">146</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ace2ef890e1eb6b3674d2f38f3e445922"></a><!-- doxytag: member="KProtocolManager::userAgentForHost" ref="ace2ef890e1eb6b3674d2f38f3e445922" args="(const QString &amp;hostname)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KProtocolManager::userAgentForHost </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>hostname</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the userAgent string configured for the specified host. </p>
<p>If hostname is not found or is empty (i.e. "" or QString::null) this function will return the default user agent.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">hostname</td><td>name of the host </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>specified userAgent string </dd></dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00418">418</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a14527a12b04fea69490657c782167860"></a><!-- doxytag: member="KProtocolManager::useReverseProxy" ref="a14527a12b04fea69490657c782167860" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KProtocolManager::useReverseProxy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns true if the proxy settings should apply to the list returned by <a class="el" href="classKProtocolManager.html#af07baaa8ef39430c8f8b50fa0c393cd5">noProxyFor</a>. </p>
<p>Normally addresses listed in the noProxyFor list are not routed through a proxy server. However, if this function returns true, then all addresses listed in the noProxyFor list are to be routed through a proxy server where as those that are not should bypass it.</p>
<p>This function as well as <a class="el" href="classKProtocolManager.html#af07baaa8ef39430c8f8b50fa0c393cd5">noProxyFor</a> only apply when <a class="el" href="classKProtocolManager.html#af77ebda1387f9b003681be18d0da7c3f">proxyType</a> is <code>ManualProxy</code>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKProtocolManager.html#ac7215520dc73c15f79e8785158ccf104" title="Returns the proxy server address for a given URL.">proxyForURL</a>, <a class="el" href="classKProtocolManager.html#a0fdf75ebbabc5962bdc443d51d190fe0" title="Returns the proxy server address for a given protocol.">proxyFor</a>, <a class="el" href="classKProtocolManager.html#a69333ead11e84142b2b69fa8e99fa418" title="Return the protocol to use in order to handle the given url It&#39;s usually the same, except that FTP, when handled by a proxy, needs an HTTP ioslave.">slaveProtocol</a> </dd></dl>

<p>Definition at line <a class="el" href="kprotocolmanager_8cpp_source.html#l00151">151</a> of file <a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="kprotocolmanager_8h_source.html">kprotocolmanager.h</a></li>
<li><a class="el" href="kprotocolmanager_8cpp_source.html">kprotocolmanager.cpp</a></li>
</ul>
</div>
    </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="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="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="classKFilterBase.html">kfilterbase</option>,  <option value="classKFilterDev.html">kfilterdev</option>,  <option value="classKFolderType.html">kfoldertype</option>,  <option value="classKImageIO.html">kimageio</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_1DeleteJob.html">kio::deletejob</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_1PasswordDialog.html">kio::passworddialog</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_1SimpleJob.html">kio::simplejob</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="classKLimitedIODevice.html">klimitediodevice</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="classKNFSShare.html">knfsshare</option>,  <option value="classKOCRDialog.html">kocrdialog</option>,  <option value="classKOCRDialogFactory.html">kocrdialogfactory</option>,  <option value="classKOpenWithHandler.html">kopenwithhandler</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="classKServiceGroup.html">kservicegroup</option>,  <option value="classKServiceOffer.html">kserviceoffer</option>,  <option value="classKServiceType.html">kservicetype</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="classObserver.html">observer</option>,  <option value="classRenameDlgPlugin.html">renamedlgplugin</option>,  <option value="classThumbCreator.html">thumbcreator</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&#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>