Sophie

Sophie

distrib > PLD > ac > amd64 > media > dist > by-pkgid > 90467ea6a387df728f7218a11e972208 > files > 8017

kdelibs-apidocs-3.5.6-3.amd64.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>kioslave/http: KCookieJar Class Reference (kioslave/http)</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">kioslave</a> / <a href=".">http</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.4 -->
<h1>KCookieJar Class Reference</h1><!-- doxytag: class="KCookieJar" --><a href="classKCookieJar-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>

<p>

<p>
Definition at line <a class="el" href="kcookiejar_8h-source.html#l00114">114</a> of file <a class="el" href="kcookiejar_8h-source.html">kcookiejar.h</a>.<table border="0" cellpadding="0" cellspacing="0">
<tr><td></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="classKCookieJar.html#a0">KCookieJar</a> ()</td></tr>

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#a2">changed</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="classKCookieJar.html#a3">saveCookies</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;_filename)</td></tr>

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#a5">saveConfig</a> (KConfig *_config)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#a6">loadConfig</a> (KConfig *_config, bool reparse=false)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#a7">findCookies</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;_url, bool useDOMFormat, long windowId, <a class="el" href="classKHttpCookieList.html">KHttpCookieList</a> *pendingCookies=0)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classKHttpCookieList.html">KHttpCookieList</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#a8">makeCookies</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;_url, const <a class="elRef" doxygen="qt.tag:" href="qcstring.html">QCString</a> &amp;cookie_headers, long windowId)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classKHttpCookieList.html">KHttpCookieList</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#a9">makeDOMCookies</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;_url, const <a class="elRef" doxygen="qt.tag:" href="qcstring.html">QCString</a> &amp;cookie_domstr, long windowId)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#a10">addCookie</a> (<a class="el" href="classKHttpCookie.html">KHttpCookiePtr</a> &amp;cookiePtr)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">KCookieAdvice&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#a11">cookieAdvice</a> (<a class="el" href="classKHttpCookie.html">KHttpCookiePtr</a> cookiePtr)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">KCookieAdvice&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#a12">getDomainAdvice</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;_domain)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#a13">setDomainAdvice</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;_domain, KCookieAdvice _advice)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#a14">setDomainAdvice</a> (<a class="el" href="classKHttpCookie.html">KHttpCookiePtr</a> _cookie, KCookieAdvice _advice)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">KCookieAdvice&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#a15">getGlobalAdvice</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#a16">setGlobalAdvice</a> (KCookieAdvice _advice)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="elRef" doxygen="qt.tag:" href="qstringlist.html">QStringList</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#a17">getDomainList</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classKHttpCookieList.html">KHttpCookieList</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#a18">getCookieList</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;_domain, const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;_fqdn)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#a19">eatCookie</a> (<a class="el" href="classKHttpCookie.html">KHttpCookiePtr</a> cookiePtr)</td></tr>

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

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#a22">eatSessionCookies</a> (long windowId)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#a23">eatSessionCookies</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;fqdn, long windowId, bool isFQDN=true)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#a24">extractDomains</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;_fqdn, <a class="elRef" doxygen="qt.tag:" href="qstringlist.html">QStringList</a> &amp;_domainList)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#a25">preferredDefaultPolicy</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="classKCookieJar.html#a26">showCookieDetails</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="classKCookieJar.html#a27">setPreferredDefaultPolicy</a> (int value)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#a28">setShowCookieDetails</a> (bool value)</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 bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#e0">parseURL</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;_url, <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;_fqdn, <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;_path)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e1"></a><!-- doxytag: member="KCookieJar::adviceToStr" ref="e1" args="(KCookieAdvice _advice)" -->
static <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#e1">adviceToStr</a> (KCookieAdvice _advice)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e2"></a><!-- doxytag: member="KCookieJar::strToAdvice" ref="e2" args="(const QString &amp;_str)" -->
static KCookieAdvice&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#e2">strToAdvice</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;_str)</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="b0"></a><!-- doxytag: member="KCookieJar::stripDomain" ref="b0" args="(const QString &amp;_fqdn, QString &amp;_domain)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#b0">stripDomain</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;_fqdn, <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;_domain)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b1"></a><!-- doxytag: member="KCookieJar::stripDomain" ref="b1" args="(KHttpCookiePtr cookiePtr)" -->
<a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#b1">stripDomain</a> (<a class="el" href="classKHttpCookie.html">KHttpCookiePtr</a> cookiePtr)</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="p0"></a><!-- doxytag: member="KCookieJar::m_domainList" ref="p0" args="" -->
<a class="elRef" doxygen="qt.tag:" href="qstringlist.html">QStringList</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#p0">m_domainList</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="p1"></a><!-- doxytag: member="KCookieJar::m_globalAdvice" ref="p1" args="" -->
KCookieAdvice&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#p1">m_globalAdvice</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="p2"></a><!-- doxytag: member="KCookieJar::m_cookieDomains" ref="p2" args="" -->
<a class="elRef" doxygen="qt.tag:" href="qdict.html">QDict</a>&lt; <a class="el" href="classKHttpCookieList.html">KHttpCookieList</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#p2">m_cookieDomains</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="p3"></a><!-- doxytag: member="KCookieJar::m_twoLevelTLD" ref="p3" args="" -->
<a class="elRef" doxygen="qt.tag:" href="qdict.html">QDict</a>&lt; int &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#p3">m_twoLevelTLD</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="p4"></a><!-- doxytag: member="KCookieJar::m_configChanged" ref="p4" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#p4">m_configChanged</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="p5"></a><!-- doxytag: member="KCookieJar::m_cookiesChanged" ref="p5" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#p5">m_cookiesChanged</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="p6"></a><!-- doxytag: member="KCookieJar::m_showCookieDetails" ref="p6" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#p6">m_showCookieDetails</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="p7"></a><!-- doxytag: member="KCookieJar::m_rejectCrossDomainCookies" ref="p7" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#p7">m_rejectCrossDomainCookies</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="p8"></a><!-- doxytag: member="KCookieJar::m_autoAcceptSessionCookies" ref="p8" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#p8">m_autoAcceptSessionCookies</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="p9"></a><!-- doxytag: member="KCookieJar::m_ignoreCookieExpirationDate" ref="p9" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#p9">m_ignoreCookieExpirationDate</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="p10"></a><!-- doxytag: member="KCookieJar::m_preferredPolicy" ref="p10" args="" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCookieJar.html#p10">m_preferredPolicy</a></td></tr>

</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="a0"></a><!-- doxytag: member="KCookieJar::KCookieJar" ref="a0" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">KCookieJar::KCookieJar           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Constructs a new cookie jar. 
<p>
One jar should be enough for all cookies.
<p>
Definition at line <a class="el" href="kcookiejar_8cpp-source.html#l00251">251</a> of file <a class="el" href="kcookiejar_8cpp-source.html">kcookiejar.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="KCookieJar::~KCookieJar" ref="a1" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">KCookieJar::~KCookieJar           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Destructs the cookie jar. 
<p>
Poor little cookies, they will all be eaten by the cookie monster!
<p>
Definition at line <a class="el" href="kcookiejar_8cpp-source.html#l00272">272</a> of file <a class="el" href="kcookiejar_8cpp-source.html">kcookiejar.cpp</a>.    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a10"></a><!-- doxytag: member="KCookieJar::addCookie" ref="a10" args="(KHttpCookiePtr &amp;cookiePtr)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void KCookieJar::addCookie           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classKHttpCookie.html">KHttpCookiePtr</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>cookiePtr</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This function hands a <a class="el" href="classKHttpCookie.html">KHttpCookie</a> object over to the cookie jar. 
<p>
On return cookiePtr is set to 0.
<p>
Definition at line <a class="el" href="kcookiejar_8cpp-source.html#l00920">920</a> of file <a class="el" href="kcookiejar_8cpp-source.html">kcookiejar.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a2"></a><!-- doxytag: member="KCookieJar::changed" ref="a2" args="() const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">bool KCookieJar::changed           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [inline]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns whether the cookiejar has been changed. 
<p>

<p>
Definition at line <a class="el" href="kcookiejar_8h-source.html#l00134">134</a> of file <a class="el" href="kcookiejar_8h-source.html">kcookiejar.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a11"></a><!-- doxytag: member="KCookieJar::cookieAdvice" ref="a11" args="(KHttpCookiePtr cookiePtr)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">KCookieAdvice KCookieJar::cookieAdvice           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classKHttpCookie.html">KHttpCookiePtr</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>cookiePtr</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This function advices whether a single <a class="el" href="classKHttpCookie.html">KHttpCookie</a> object should be added to the cookie jar. 
<p>
Possible return values are:<ul>
<li>KCookieAccept, the cookie should be added</li><li>KCookieReject, the cookie should not be added</li><li>KCookieAsk, the user should decide what to do</li></ul>

<p>
Definition at line <a class="el" href="kcookiejar_8cpp-source.html#l00982">982</a> of file <a class="el" href="kcookiejar_8cpp-source.html">kcookiejar.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a21"></a><!-- doxytag: member="KCookieJar::eatAllCookies" ref="a21" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void KCookieJar::eatAllCookies           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Remove &amp; delete all cookies. 
<p>

<p>
Definition at line <a class="el" href="kcookiejar_8cpp-source.html#l01208">1208</a> of file <a class="el" href="kcookiejar_8cpp-source.html">kcookiejar.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a19"></a><!-- doxytag: member="KCookieJar::eatCookie" ref="a19" args="(KHttpCookiePtr cookiePtr)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void KCookieJar::eatCookie           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classKHttpCookie.html">KHttpCookiePtr</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>cookiePtr</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Remove &amp; delete a cookie from the jar. 
<p>
cookiePtr should be one of the entries in a <a class="el" href="classKHttpCookieList.html">KHttpCookieList</a>. Update your <a class="el" href="classKHttpCookieList.html">KHttpCookieList</a> by calling getCookieList after calling this function.
<p>
Definition at line <a class="el" href="kcookiejar_8cpp-source.html#l01161">1161</a> of file <a class="el" href="kcookiejar_8cpp-source.html">kcookiejar.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a20"></a><!-- doxytag: member="KCookieJar::eatCookiesForDomain" ref="a20" args="(const QString &amp;domain)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void KCookieJar::eatCookiesForDomain           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>domain</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Remove &amp; delete all cookies for <code>domain</code>. 
<p>

<p>
Definition at line <a class="el" href="kcookiejar_8cpp-source.html#l01183">1183</a> of file <a class="el" href="kcookiejar_8cpp-source.html">kcookiejar.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a23"></a><!-- doxytag: member="KCookieJar::eatSessionCookies" ref="a23" args="(const QString &amp;fqdn, long windowId, bool isFQDN=true)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void KCookieJar::eatSessionCookies           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>fqdn</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>long&nbsp;</td>
          <td class="mdname" nowrap> <em>windowId</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap> <em>isFQDN</em> = <code>true</code></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Removes all end of session cookies set by the session <code>windId</code>. 
<p>

<p>
Definition at line <a class="el" href="kcookiejar_8cpp-source.html#l01219">1219</a> of file <a class="el" href="kcookiejar_8cpp-source.html">kcookiejar.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a22"></a><!-- doxytag: member="KCookieJar::eatSessionCookies" ref="a22" args="(long windowId)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void KCookieJar::eatSessionCookies           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">long&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>windowId</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Removes all end of session cookies set by the session <code>windId</code>. 
<p>

<p>
Definition at line <a class="el" href="kcookiejar_8cpp-source.html#l01198">1198</a> of file <a class="el" href="kcookiejar_8cpp-source.html">kcookiejar.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a24"></a><!-- doxytag: member="KCookieJar::extractDomains" ref="a24" args="(const QString &amp;_fqdn, QStringList &amp;_domainList)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void KCookieJar::extractDomains           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>_fqdn</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap><a class="elRef" doxygen="qt.tag:" href="qstringlist.html">QStringList</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>_domainList</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns a list of domains in <code>_domainList</code> relevant for this host. 
<p>
The list is sorted with the FQDN listed first and the top-most domain listed last
<p>
Definition at line <a class="el" href="kcookiejar_8cpp-source.html#l00611">611</a> of file <a class="el" href="kcookiejar_8cpp-source.html">kcookiejar.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a7"></a><!-- doxytag: member="KCookieJar::findCookies" ref="a7" args="(const QString &amp;_url, bool useDOMFormat, long windowId, KHttpCookieList *pendingCookies=0)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> KCookieJar::findCookies           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>_url</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap> <em>useDOMFormat</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>long&nbsp;</td>
          <td class="mdname" nowrap> <em>windowId</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap><a class="el" href="classKHttpCookieList.html">KHttpCookieList</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>pendingCookies</em> = <code>0</code></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Looks for cookies in the cookie jar which are appropriate for _url. 
<p>
Returned is a string containing all appropriate cookies in a format which can be added to a HTTP-header without any additional processing.<p>
If <code>useDOMFormat</code> is true, the string is formatted in a format in compliance with the DOM standard. <code>pendingCookies</code> contains a list of cookies that have not been approved yet by the user but that will be included in the result none the less.
<p>
Definition at line <a class="el" href="kcookiejar_8cpp-source.html#l00327">327</a> of file <a class="el" href="kcookiejar_8cpp-source.html">kcookiejar.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a18"></a><!-- doxytag: member="KCookieJar::getCookieList" ref="a18" args="(const QString &amp;_domain, const QString &amp;_fqdn)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">const <a class="el" href="classKHttpCookieList.html">KHttpCookieList</a> * KCookieJar::getCookieList           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>_domain</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>_fqdn</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get a list of all cookies in the cookie jar originating from _domain. 
<p>

<p>
Definition at line <a class="el" href="kcookiejar_8cpp-source.html#l01144">1144</a> of file <a class="el" href="kcookiejar_8cpp-source.html">kcookiejar.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a12"></a><!-- doxytag: member="KCookieJar::getDomainAdvice" ref="a12" args="(const QString &amp;_domain)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">KCookieAdvice KCookieJar::getDomainAdvice           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>_domain</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This function gets the advice for all cookies originating from _domain. 
<p>
<ul>
<li>KCookieDunno, no specific advice for _domain</li><li>KCookieAccept, accept all cookies for _domain</li><li>KCookieReject, reject all cookies for _domain</li><li>KCookieAsk, the user decides what to do with cookies for _domain</li></ul>

<p>
Definition at line <a class="el" href="kcookiejar_8cpp-source.html#l01050">1050</a> of file <a class="el" href="kcookiejar_8cpp-source.html">kcookiejar.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a17"></a><!-- doxytag: member="KCookieJar::getDomainList" ref="a17" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="qt.tag:" href="qstringlist.html">QStringList</a> &amp; KCookieJar::getDomainList           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get a list of all domains known to the cookie jar. 
<p>
A domain is known to the cookie jar if:<ul>
<li>It has a cookie originating from the domain</li><li>It has a specific advice set for the domain</li></ul>

<p>
Definition at line <a class="el" href="kcookiejar_8cpp-source.html#l01136">1136</a> of file <a class="el" href="kcookiejar_8cpp-source.html">kcookiejar.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a15"></a><!-- doxytag: member="KCookieJar::getGlobalAdvice" ref="a15" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">KCookieAdvice KCookieJar::getGlobalAdvice           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get the global advice for cookies. 
<p>
The returned advice can have the following values:<ul>
<li>KCookieAccept, accept cookies</li><li>KCookieReject, reject cookies</li><li>KCookieAsk, the user decides what to do with cookies</li></ul>
<p>
The global advice is used if the domain has no advice set.
<p>
Definition at line <a class="el" href="kcookiejar_8h-source.html#l00252">252</a> of file <a class="el" href="kcookiejar_8h-source.html">kcookiejar.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a6"></a><!-- doxytag: member="KCookieJar::loadConfig" ref="a6" args="(KConfig *_config, bool reparse=false)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void KCookieJar::loadConfig           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">KConfig *&nbsp;</td>
          <td class="mdname" nowrap> <em>_config</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap> <em>reparse</em> = <code>false</code></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Load the cookie configuration. 
<p>

<p>
Definition at line <a class="el" href="kcookiejar_8cpp-source.html#l01507">1507</a> of file <a class="el" href="kcookiejar_8cpp-source.html">kcookiejar.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="KCookieJar::loadCookies" ref="a4" args="(const QString &amp;_filename)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">bool KCookieJar::loadCookies           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>_filename</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Load all the cookies from file and add them to the cookie jar. 
<p>

<p>
Definition at line <a class="el" href="kcookiejar_8cpp-source.html#l01367">1367</a> of file <a class="el" href="kcookiejar_8cpp-source.html">kcookiejar.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a8"></a><!-- doxytag: member="KCookieJar::makeCookies" ref="a8" args="(const QString &amp;_url, const QCString &amp;cookie_headers, long windowId)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classKHttpCookieList.html">KHttpCookieList</a> KCookieJar::makeCookies           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>_url</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>const <a class="elRef" doxygen="qt.tag:" href="qcstring.html">QCString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>cookie_headers</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>long&nbsp;</td>
          <td class="mdname" nowrap> <em>windowId</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This function parses cookie_headers and returns a linked list of valid <a class="el" href="classKHttpCookie.html">KHttpCookie</a> objects for all cookies found in cookie_headers. 
<p>
If no cookies could be found 0 is returned.<p>
cookie_headers should be a concatenation of all lines of a HTTP-header which start with "Set-Cookie". The lines should be separated by '<br>
's.
<p>
Definition at line <a class="el" href="kcookiejar_8cpp-source.html#l00690">690</a> of file <a class="el" href="kcookiejar_8cpp-source.html">kcookiejar.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a9"></a><!-- doxytag: member="KCookieJar::makeDOMCookies" ref="a9" args="(const QString &amp;_url, const QCString &amp;cookie_domstr, long windowId)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classKHttpCookieList.html">KHttpCookieList</a> KCookieJar::makeDOMCookies           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>_url</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>const <a class="elRef" doxygen="qt.tag:" href="qcstring.html">QCString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>cookie_domstr</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>long&nbsp;</td>
          <td class="mdname" nowrap> <em>windowId</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This function parses cookie_headers and returns a linked list of valid <a class="el" href="classKHttpCookie.html">KHttpCookie</a> objects for all cookies found in cookie_headers. 
<p>
If no cookies could be found 0 is returned.<p>
cookie_domstr should be a concatenation of "name=value" pairs, separated by a semicolon ';'.
<p>
Definition at line <a class="el" href="kcookiejar_8cpp-source.html#l00855">855</a> of file <a class="el" href="kcookiejar_8cpp-source.html">kcookiejar.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="e0"></a><!-- doxytag: member="KCookieJar::parseURL" ref="e0" args="(const QString &amp;_url, QString &amp;_fqdn, QString &amp;_path)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">bool KCookieJar::parseURL           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>_url</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>_fqdn</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>_path</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [static]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Parses _url and returns the FQDN (_fqdn) and path (_path). 
<p>

<p>
Definition at line <a class="el" href="kcookiejar_8cpp-source.html#l00573">573</a> of file <a class="el" href="kcookiejar_8cpp-source.html">kcookiejar.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a25"></a><!-- doxytag: member="KCookieJar::preferredDefaultPolicy" ref="a25" args="() const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int KCookieJar::preferredDefaultPolicy           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [inline]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns the. 
<p>

<p>
Definition at line <a class="el" href="kcookiejar_8h-source.html#l00330">330</a> of file <a class="el" href="kcookiejar_8h-source.html">kcookiejar.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a5"></a><!-- doxytag: member="KCookieJar::saveConfig" ref="a5" args="(KConfig *_config)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void KCookieJar::saveConfig           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">KConfig *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>_config</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Save the cookie configuration. 
<p>

<p>
Definition at line <a class="el" href="kcookiejar_8cpp-source.html#l01471">1471</a> of file <a class="el" href="kcookiejar_8cpp-source.html">kcookiejar.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a3"></a><!-- doxytag: member="KCookieJar::saveCookies" ref="a3" args="(const QString &amp;_filename)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">bool KCookieJar::saveCookies           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>_filename</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Store all the cookies in a safe(?) place. 
<p>

<p>
Definition at line <a class="el" href="kcookiejar_8cpp-source.html#l01260">1260</a> of file <a class="el" href="kcookiejar_8cpp-source.html">kcookiejar.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a14"></a><!-- doxytag: member="KCookieJar::setDomainAdvice" ref="a14" args="(KHttpCookiePtr _cookie, KCookieAdvice _advice)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void KCookieJar::setDomainAdvice           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classKHttpCookie.html">KHttpCookiePtr</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>_cookie</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>KCookieAdvice&nbsp;</td>
          <td class="mdname" nowrap> <em>_advice</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This function sets the advice for all cookies originating from the same domain as _cookie. 
<p>
_advice can have the following values:<ul>
<li>KCookieDunno, no specific advice for _domain</li><li>KCookieAccept, accept all cookies for _domain</li><li>KCookieReject, reject all cookies for _domain</li><li>KCookieAsk, the user decides what to do with cookies for _domain</li></ul>

<p>
Definition at line <a class="el" href="kcookiejar_8cpp-source.html#l01115">1115</a> of file <a class="el" href="kcookiejar_8cpp-source.html">kcookiejar.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a13"></a><!-- doxytag: member="KCookieJar::setDomainAdvice" ref="a13" args="(const QString &amp;_domain, KCookieAdvice _advice)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void KCookieJar::setDomainAdvice           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>_domain</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>KCookieAdvice&nbsp;</td>
          <td class="mdname" nowrap> <em>_advice</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This function sets the advice for all cookies originating from _domain. 
<p>
_advice can have the following values:<ul>
<li>KCookieDunno, no specific advice for _domain</li><li>KCookieAccept, accept all cookies for _domain</li><li>KCookieReject, reject all cookies for _domain</li><li>KCookieAsk, the user decides what to do with cookies for _domain</li></ul>

<p>
Definition at line <a class="el" href="kcookiejar_8cpp-source.html#l01071">1071</a> of file <a class="el" href="kcookiejar_8cpp-source.html">kcookiejar.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a16"></a><!-- doxytag: member="KCookieJar::setGlobalAdvice" ref="a16" args="(KCookieAdvice _advice)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void KCookieJar::setGlobalAdvice           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">KCookieAdvice&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>_advice</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This function sets the global advice for cookies. 
<p>
_advice can have the following values:<ul>
<li>KCookieAccept, accept cookies</li><li>KCookieReject, reject cookies</li><li>KCookieAsk, the user decides what to do with cookies</li></ul>
<p>
The global advice is used if the domain has no advice set.
<p>
Definition at line <a class="el" href="kcookiejar_8cpp-source.html#l01126">1126</a> of file <a class="el" href="kcookiejar_8cpp-source.html">kcookiejar.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a27"></a><!-- doxytag: member="KCookieJar::setPreferredDefaultPolicy" ref="a27" args="(int value)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void KCookieJar::setPreferredDefaultPolicy           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">int&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>value</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the user's default preference cookie policy. 
<p>

<p>
Definition at line <a class="el" href="kcookiejar_8h-source.html#l00338">338</a> of file <a class="el" href="kcookiejar_8h-source.html">kcookiejar.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a28"></a><!-- doxytag: member="KCookieJar::setShowCookieDetails" ref="a28" args="(bool value)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void KCookieJar::setShowCookieDetails           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">bool&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>value</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the user's preference of level of detail displayed by the cookie dialog. 
<p>

<p>
Definition at line <a class="el" href="kcookiejar_8h-source.html#l00344">344</a> of file <a class="el" href="kcookiejar_8h-source.html">kcookiejar.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a26"></a><!-- doxytag: member="KCookieJar::showCookieDetails" ref="a26" args="() const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">bool KCookieJar::showCookieDetails           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [inline]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns the. 
<p>

<p>
Definition at line <a class="el" href="kcookiejar_8h-source.html#l00333">333</a> of file <a class="el" href="kcookiejar_8h-source.html">kcookiejar.h</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="kcookiejar_8h-source.html">kcookiejar.h</a><li><a class="el" href="kcookiejar_8cpp-source.html">kcookiejar.cpp</a></ul>
    </div></div>


      </td>
  </tr>
  <tr>
    <td valign="top" id="leftmenu" width="25%">
      <a name="navigation"></a>
      <div class="menu_box"><h2>kioslave/http</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</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="dirs.html">Directories</a></li><li><a href="functions.html">Class Members</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="classHTTPProtocol.html">httpprotocol</option>,  <option value="classKCookieDetail.html">kcookiedetail</option>,  <option value="classKCookieJar.html">kcookiejar</option>,  <option value="classKCookieServer.html">kcookieserver</option>,  <option value="classKCookieWin.html">kcookiewin</option>,  <option value="classKHttpCookie.html">khttpcookie</option>,  <option value="classKHttpCookieList.html">khttpcookielist</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>