<?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>libkonq: KonqHistoryManager Class Reference (libkonq)</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=".">libkonq</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.5.5 --> <div class="contents"> <h1>KonqHistoryManager Class Reference</h1><!-- doxytag: class="KonqHistoryManager" --><!-- doxytag: inherits="KParts::HistoryProvider,KonqHistoryComm" --><code>#include <<a class="el" href="konq__historymgr_8h-source.html">konq_historymgr.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for KonqHistoryManager:</div> <div class="dynsection"> <p><center><img src="classKonqHistoryManager.png" usemap="#KonqHistoryManager_map" border="0" alt=""></center> <map name="KonqHistoryManager_map"> <area href="classKonqHistoryComm.html" alt="KonqHistoryComm" shape="rect" coords="0,56,131,80"> <area doxygen="dcop.tag:../../../kdelibs-apidocs/dcop/html/" href="../../../kdelibs-apidocs/dcop/html/classDCOPObject.html" alt="DCOPObject" shape="rect" coords="0,0,131,24"> </map> </div> <p> <a href="classKonqHistoryManager-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> This class maintains and manages a history of all URLs visited by one Konqueror instance. <p> Additionally it synchronizes the history with other Konqueror instances via DCOP to keep one global and persistant history.<p> It keeps the history in sync with one <a class="elRef" doxygen="kdecore.tag:../../../kdelibs-apidocs/kdecore/html/" href="../../../kdelibs-apidocs/kdecore/html/classKCompletion.html">KCompletion</a> object <p>Definition at line <a class="el" href="konq__historymgr_8h-source.html#l00074">74</a> of file <a class="el" href="konq__historymgr_8h-source.html">konq_historymgr.h</a>.</p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Slots</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#99c40f4f80b730b82e5bd83e1acad446">loadHistory</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#b48bb2abfab3d29750455f4dc84e5410">saveHistory</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#d10f88d5c176e53c6d667fa431e26d2e">emitClear</a> ()</td></tr> <tr><td colspan="2"><br><h2>Signals</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#7ad70689ce20a7c62bfa94aa9c624a53">loadingFinished</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#0cc5832f16c640e76b9f335673dd1f68">entryAdded</a> (const KonqHistoryEntry *entry)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#96691ed6e22fce744352732226291ace">entryRemoved</a> (const KonqHistoryEntry *entry)</td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="23098f5b3682144db7db052e82ff6ece"></a><!-- doxytag: member="KonqHistoryManager::KonqHistoryManager" ref="23098f5b3682144db7db052e82ff6ece" args="(QObject *parent, const char *name)" --> </td><td class="memItemRight" valign="bottom"><b>KonqHistoryManager</b> (QObject *parent, const char *name)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#e8230e74be8b64b3515aeacfee557a69">emitSetMaxCount</a> (Q_UINT32 count)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#3e65a4704516e9b633d008d561550445">emitSetMaxAge</a> (Q_UINT32 days)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#c6c1462c2321990d9f0d5eb1a3769d79">emitRemoveFromHistory</a> (const <a class="elRef" doxygen="kdecore.tag:../../../kdelibs-apidocs/kdecore/html/" href="../../../kdelibs-apidocs/kdecore/html/classKURL.html">KURL</a> &url)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#b2fdca7e5a7b5ee245ee162e346d85f9">emitRemoveFromHistory</a> (const <a class="elRef" doxygen="kdecore.tag:../../../kdelibs-apidocs/kdecore/html/" href="../../../kdelibs-apidocs/kdecore/html/classKURL_1_1List.html">KURL::List</a> &urls)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">Q_UINT32 </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#0450215a62d8678405c2c94c22cb0438">maxCount</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">Q_UINT32 </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#6e39cf3d479a83b0ffd4f69e6dc18b5d">maxAge</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#7bbfb744a4c774a2d056a73b7faaaab2">addPending</a> (const <a class="elRef" doxygen="kdecore.tag:../../../kdelibs-apidocs/kdecore/html/" href="../../../kdelibs-apidocs/kdecore/html/classKURL.html">KURL</a> &url, const QString &typedURL=QString::null, const QString &title=QString::null)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#53e074b5bf1b6d4cdec41697eb00395e">confirmPending</a> (const <a class="elRef" doxygen="kdecore.tag:../../../kdelibs-apidocs/kdecore/html/" href="../../../kdelibs-apidocs/kdecore/html/classKURL.html">KURL</a> &url, const QString &typedURL=QString::null, const QString &title=QString::null)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#2ff7ed0758490a486325469c28e0fa89">removePending</a> (const <a class="elRef" doxygen="kdecore.tag:../../../kdelibs-apidocs/kdecore/html/" href="../../../kdelibs-apidocs/kdecore/html/classKURL.html">KURL</a> &url)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="kdecore.tag:../../../kdelibs-apidocs/kdecore/html/" href="../../../kdelibs-apidocs/kdecore/html/classKCompletion.html">KCompletion</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#b097e7fdf09160c9ad7ca7b42d914aa2">completionObject</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const KonqHistoryList & </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#5a6cdf682d656cd0d9eb3cad099c8b4e">entries</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#8963df86c09837b4f434830bd46beb44">insert</a> (const QString &)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="89ffda628ecad9128b3ba4f1a5acaca1"></a><!-- doxytag: member="KonqHistoryManager::remove" ref="89ffda628ecad9128b3ba4f1a5acaca1" args="(const QString &)" --> virtual void </td><td class="memItemRight" valign="bottom"><b>remove</b> (const QString &)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bdab58dbdd73f29f99bef4782a7d776a"></a><!-- doxytag: member="KonqHistoryManager::clear" ref="bdab58dbdd73f29f99bef4782a7d776a" args="()" --> virtual void </td><td class="memItemRight" valign="bottom"><b>clear</b> ()</td></tr> <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="77acc25696989d1cba4d7cfd331a3261"></a><!-- doxytag: member="KonqHistoryManager::kself" ref="77acc25696989d1cba4d7cfd331a3261" args="()" --> static <a class="el" href="classKonqHistoryManager.html">KonqHistoryManager</a> * </td><td class="memItemRight" valign="bottom"><b>kself</b> ()</td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#1438a0d1eebd319d02e4daf099c1a49b">adjustSize</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#426a3f8a1983b80c25d5288240cc5f53">isExpired</a> (KonqHistoryEntry *entry)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#2d825e18a190c451919b27d8478afa10">emitAddToHistory</a> (const KonqHistoryEntry &entry)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#12efd869313261190b9ab117420a296b">notifyHistoryEntry</a> (KonqHistoryEntry e, QCString saveId)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#5b1980118bb6de49ebb41160c0a4712f">notifyMaxCount</a> (Q_UINT32 count, QCString saveId)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#31c688f71f1b01d0ca0b7629c795ab87">notifyMaxAge</a> (Q_UINT32 days, QCString saveId)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#49175e7b70997725d6b2fd784ef755e3">notifyClear</a> (QCString saveId)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#b2ca62bedf68c78696cf65cdf95f9463">notifyRemove</a> (<a class="elRef" doxygen="kdecore.tag:../../../kdelibs-apidocs/kdecore/html/" href="../../../kdelibs-apidocs/kdecore/html/classKURL.html">KURL</a> url, QCString saveId)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#ee056b409635a7ef99ab145789d971ff">notifyRemove</a> (<a class="elRef" doxygen="kdecore.tag:../../../kdelibs-apidocs/kdecore/html/" href="../../../kdelibs-apidocs/kdecore/html/classKURL_1_1List.html">KURL::List</a> urls, QCString saveId)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QStringList </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#4d022b43d12063ed9852b8dd397a5995">allURLs</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#cdcff847fcb82190d68cc08444478303">addToHistory</a> (bool pending, const <a class="elRef" doxygen="kdecore.tag:../../../kdelibs-apidocs/kdecore/html/" href="../../../kdelibs-apidocs/kdecore/html/classKURL.html">KURL</a> &url, const QString &typedURL=QString::null, const QString &title=QString::null)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#210b9d4b46aba6993c3c2a4ca7527f74">filterOut</a> (const <a class="elRef" doxygen="kdecore.tag:../../../kdelibs-apidocs/kdecore/html/" href="../../../kdelibs-apidocs/kdecore/html/classKURL.html">KURL</a> &url)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="24d02a8f6303ba18eb045e1df1788b13"></a><!-- doxytag: member="KonqHistoryManager::addToUpdateList" ref="24d02a8f6303ba18eb045e1df1788b13" args="(const QString &url)" --> void </td><td class="memItemRight" valign="bottom"><b>addToUpdateList</b> (const QString &url)</td></tr> <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">QStringList </td><td class="memItemRight" valign="bottom"><a class="el" href="classKonqHistoryManager.html#aee710b801302792ce62ea6ad60bc3a6">m_updateURLs</a></td></tr> </table> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="e8230e74be8b64b3515aeacfee557a69"></a><!-- doxytag: member="KonqHistoryManager::emitSetMaxCount" ref="e8230e74be8b64b3515aeacfee557a69" args="(Q_UINT32 count)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KonqHistoryManager::emitSetMaxCount </td> <td>(</td> <td class="paramtype">Q_UINT32 </td> <td class="paramname"> <em>count</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets a new maximum size of history and truncates the current history if necessary. <p> Notifies all other Konqueror instances via DCOP to do the same.<p> The history is saved after receiving the DCOP call. <p>Definition at line <a class="el" href="konq__historymgr_8cc-source.html#l00422">422</a> of file <a class="el" href="konq__historymgr_8cc-source.html">konq_historymgr.cc</a>.</p> </div> </div><p> <a class="anchor" name="3e65a4704516e9b633d008d561550445"></a><!-- doxytag: member="KonqHistoryManager::emitSetMaxAge" ref="3e65a4704516e9b633d008d561550445" args="(Q_UINT32 days)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KonqHistoryManager::emitSetMaxAge </td> <td>(</td> <td class="paramtype">Q_UINT32 </td> <td class="paramname"> <em>days</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets a new maximum age of history entries and removes all entries that are older than <code>days</code>. <p> Notifies all other Konqueror instances via DCOP to do the same.<p> An age of 0 means no expiry based on the age.<p> The history is saved after receiving the DCOP call. <p>Definition at line <a class="el" href="konq__historymgr_8cc-source.html#l00431">431</a> of file <a class="el" href="konq__historymgr_8cc-source.html">konq_historymgr.cc</a>.</p> </div> </div><p> <a class="anchor" name="c6c1462c2321990d9f0d5eb1a3769d79"></a><!-- doxytag: member="KonqHistoryManager::emitRemoveFromHistory" ref="c6c1462c2321990d9f0d5eb1a3769d79" args="(const KURL &url)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KonqHistoryManager::emitRemoveFromHistory </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="kdecore.tag:../../../kdelibs-apidocs/kdecore/html/" href="../../../kdelibs-apidocs/kdecore/html/classKURL.html">KURL</a> & </td> <td class="paramname"> <em>url</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Removes the history entry for <code>url</code>, if existant. <p> Tells all other Konqueror instances via DCOP to do the same.<p> The history is saved after receiving the DCOP call. <p>Definition at line <a class="el" href="konq__historymgr_8cc-source.html#l00395">395</a> of file <a class="el" href="konq__historymgr_8cc-source.html">konq_historymgr.cc</a>.</p> </div> </div><p> <a class="anchor" name="b2fdca7e5a7b5ee245ee162e346d85f9"></a><!-- doxytag: member="KonqHistoryManager::emitRemoveFromHistory" ref="b2fdca7e5a7b5ee245ee162e346d85f9" args="(const KURL::List &urls)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KonqHistoryManager::emitRemoveFromHistory </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="kdecore.tag:../../../kdelibs-apidocs/kdecore/html/" href="../../../kdelibs-apidocs/kdecore/html/classKURL_1_1List.html">KURL::List</a> & </td> <td class="paramname"> <em>urls</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Removes the history entries for the given list of <code>urls</code>. <p> Tells all other Konqueror instances via DCOP to do the same.<p> The history is saved after receiving the DCOP call. <p>Definition at line <a class="el" href="konq__historymgr_8cc-source.html#l00404">404</a> of file <a class="el" href="konq__historymgr_8cc-source.html">konq_historymgr.cc</a>.</p> </div> </div><p> <a class="anchor" name="0450215a62d8678405c2c94c22cb0438"></a><!-- doxytag: member="KonqHistoryManager::maxCount" ref="0450215a62d8678405c2c94c22cb0438" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Q_UINT32 KonqHistoryManager::maxCount </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>the current maximum number of history entries. </dd></dl> <p>Definition at line <a class="el" href="konq__historymgr_8h-source.html#l00126">126</a> of file <a class="el" href="konq__historymgr_8h-source.html">konq_historymgr.h</a>.</p> </div> </div><p> <a class="anchor" name="6e39cf3d479a83b0ffd4f69e6dc18b5d"></a><!-- doxytag: member="KonqHistoryManager::maxAge" ref="6e39cf3d479a83b0ffd4f69e6dc18b5d" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Q_UINT32 KonqHistoryManager::maxAge </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>the current maximum age (in days) of history entries. </dd></dl> <p>Definition at line <a class="el" href="konq__historymgr_8h-source.html#l00131">131</a> of file <a class="el" href="konq__historymgr_8h-source.html">konq_historymgr.h</a>.</p> </div> </div><p> <a class="anchor" name="7bbfb744a4c774a2d056a73b7faaaab2"></a><!-- doxytag: member="KonqHistoryManager::addPending" ref="7bbfb744a4c774a2d056a73b7faaaab2" args="(const KURL &url, const QString &typedURL=QString::null, const QString &title=QString::null)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KonqHistoryManager::addPending </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="kdecore.tag:../../../kdelibs-apidocs/kdecore/html/" href="../../../kdelibs-apidocs/kdecore/html/classKURL.html">KURL</a> & </td> <td class="paramname"> <em>url</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QString & </td> <td class="paramname"> <em>typedURL</em> = <code>QString::null</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QString & </td> <td class="paramname"> <em>title</em> = <code>QString::null</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Adds a pending entry to the history. <p> Pending means, that the entry is not verified yet, i.e. it is not sure <code>url</code> does exist at all. You probably don't know the title of the url in that case either. Call <a class="el" href="classKonqHistoryManager.html#53e074b5bf1b6d4cdec41697eb00395e">confirmPending()</a> as soon you know the entry is good and should be updated.<p> If an entry with <code>url</code> already exists, it will be updated (lastVisited date will become the current time and the number of visits will be incremented).<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>url</em> </td><td>The url of the history entry </td></tr> <tr><td valign="top"></td><td valign="top"><em>typedURL</em> </td><td>the string that the user typed, which resulted in url Doesn't have to be a valid url, e.g. "slashdot.org". </td></tr> <tr><td valign="top"></td><td valign="top"><em>title</em> </td><td>The title of the URL. If you don't know it (yet), you may specify it in <a class="el" href="classKonqHistoryManager.html#53e074b5bf1b6d4cdec41697eb00395e">confirmPending()</a>. </td></tr> </table> </dl> <p>Definition at line <a class="el" href="konq__historymgr_8cc-source.html#l00256">256</a> of file <a class="el" href="konq__historymgr_8cc-source.html">konq_historymgr.cc</a>.</p> </div> </div><p> <a class="anchor" name="53e074b5bf1b6d4cdec41697eb00395e"></a><!-- doxytag: member="KonqHistoryManager::confirmPending" ref="53e074b5bf1b6d4cdec41697eb00395e" args="(const KURL &url, const QString &typedURL=QString::null, const QString &title=QString::null)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KonqHistoryManager::confirmPending </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="kdecore.tag:../../../kdelibs-apidocs/kdecore/html/" href="../../../kdelibs-apidocs/kdecore/html/classKURL.html">KURL</a> & </td> <td class="paramname"> <em>url</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QString & </td> <td class="paramname"> <em>typedURL</em> = <code>QString::null</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QString & </td> <td class="paramname"> <em>title</em> = <code>QString::null</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Confirms and updates the entry for <code>url</code>. <p> <p>Definition at line <a class="el" href="konq__historymgr_8cc-source.html#l00262">262</a> of file <a class="el" href="konq__historymgr_8cc-source.html">konq_historymgr.cc</a>.</p> </div> </div><p> <a class="anchor" name="2ff7ed0758490a486325469c28e0fa89"></a><!-- doxytag: member="KonqHistoryManager::removePending" ref="2ff7ed0758490a486325469c28e0fa89" args="(const KURL &url)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KonqHistoryManager::removePending </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="kdecore.tag:../../../kdelibs-apidocs/kdecore/html/" href="../../../kdelibs-apidocs/kdecore/html/classKURL.html">KURL</a> & </td> <td class="paramname"> <em>url</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Removes a pending url from the history, e.g. <p> when the url does not exist, or the user aborted loading. <p>Definition at line <a class="el" href="konq__historymgr_8cc-source.html#l00364">364</a> of file <a class="el" href="konq__historymgr_8cc-source.html">konq_historymgr.cc</a>.</p> </div> </div><p> <a class="anchor" name="b097e7fdf09160c9ad7ca7b42d914aa2"></a><!-- doxytag: member="KonqHistoryManager::completionObject" ref="b097e7fdf09160c9ad7ca7b42d914aa2" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="kdecore.tag:../../../kdelibs-apidocs/kdecore/html/" href="../../../kdelibs-apidocs/kdecore/html/classKCompletion.html">KCompletion</a>* KonqHistoryManager::completionObject </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>the <a class="elRef" doxygen="kdecore.tag:../../../kdelibs-apidocs/kdecore/html/" href="../../../kdelibs-apidocs/kdecore/html/classKCompletion.html">KCompletion</a> object. </dd></dl> <p>Definition at line <a class="el" href="konq__historymgr_8h-source.html#l00169">169</a> of file <a class="el" href="konq__historymgr_8h-source.html">konq_historymgr.h</a>.</p> </div> </div><p> <a class="anchor" name="5a6cdf682d656cd0d9eb3cad099c8b4e"></a><!-- doxytag: member="KonqHistoryManager::entries" ref="5a6cdf682d656cd0d9eb3cad099c8b4e" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const KonqHistoryList& KonqHistoryManager::entries </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>the list of all history entries, sorted by date (oldest entries first) </dd></dl> <p>Definition at line <a class="el" href="konq__historymgr_8h-source.html#l00175">175</a> of file <a class="el" href="konq__historymgr_8h-source.html">konq_historymgr.h</a>.</p> </div> </div><p> <a class="anchor" name="8963df86c09837b4f434830bd46beb44"></a><!-- doxytag: member="KonqHistoryManager::insert" ref="8963df86c09837b4f434830bd46beb44" args="(const QString &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KonqHistoryManager::insert </td> <td>(</td> <td class="paramtype">const QString & </td> <td class="paramname"> <em>url</em> </td> <td> ) </td> <td width="100%"><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Reimplemented in such a way that all URLs that would be filtered out normally (see <a class="el" href="classKonqHistoryManager.html#210b9d4b46aba6993c3c2a4ca7527f74">filterOut()</a>) will still be added to the history. <p> By default, <a href="file:/">file:/</a> urls will be filtered out, but if they come thru the HistoryProvider interface, they are added to the history. <p>Definition at line <a class="el" href="konq__historymgr_8cc-source.html#l00336">336</a> of file <a class="el" href="konq__historymgr_8cc-source.html">konq_historymgr.cc</a>.</p> </div> </div><p> <a class="anchor" name="99c40f4f80b730b82e5bd83e1acad446"></a><!-- doxytag: member="KonqHistoryManager::loadHistory" ref="99c40f4f80b730b82e5bd83e1acad446" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool KonqHistoryManager::loadHistory </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [slot]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Loads the history and fills the completion object. <p> <p>Definition at line <a class="el" href="konq__historymgr_8cc-source.html#l00081">81</a> of file <a class="el" href="konq__historymgr_8cc-source.html">konq_historymgr.cc</a>.</p> </div> </div><p> <a class="anchor" name="b48bb2abfab3d29750455f4dc84e5410"></a><!-- doxytag: member="KonqHistoryManager::saveHistory" ref="b48bb2abfab3d29750455f4dc84e5410" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool KonqHistoryManager::saveHistory </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [slot]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Saves the entire history. <p> <p>Definition at line <a class="el" href="konq__historymgr_8cc-source.html#l00200">200</a> of file <a class="el" href="konq__historymgr_8cc-source.html">konq_historymgr.cc</a>.</p> </div> </div><p> <a class="anchor" name="d10f88d5c176e53c6d667fa431e26d2e"></a><!-- doxytag: member="KonqHistoryManager::emitClear" ref="d10f88d5c176e53c6d667fa431e26d2e" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KonqHistoryManager::emitClear </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [slot]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Clears the history and tells all other Konqueror instances via DCOP to do the same. <p> The history is saved afterwards, if necessary. <p>Definition at line <a class="el" href="konq__historymgr_8cc-source.html#l00413">413</a> of file <a class="el" href="konq__historymgr_8cc-source.html">konq_historymgr.cc</a>.</p> </div> </div><p> <a class="anchor" name="7ad70689ce20a7c62bfa94aa9c624a53"></a><!-- doxytag: member="KonqHistoryManager::loadingFinished" ref="7ad70689ce20a7c62bfa94aa9c624a53" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KonqHistoryManager::loadingFinished </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [signal]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Emitted after the entire history was loaded from disk. <p> </div> </div><p> <a class="anchor" name="0cc5832f16c640e76b9f335673dd1f68"></a><!-- doxytag: member="KonqHistoryManager::entryAdded" ref="0cc5832f16c640e76b9f335673dd1f68" args="(const KonqHistoryEntry *entry)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KonqHistoryManager::entryAdded </td> <td>(</td> <td class="paramtype">const KonqHistoryEntry * </td> <td class="paramname"> <em>entry</em> </td> <td> ) </td> <td width="100%"><code> [signal]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Emitted after a new entry was added. <p> </div> </div><p> <a class="anchor" name="96691ed6e22fce744352732226291ace"></a><!-- doxytag: member="KonqHistoryManager::entryRemoved" ref="96691ed6e22fce744352732226291ace" args="(const KonqHistoryEntry *entry)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KonqHistoryManager::entryRemoved </td> <td>(</td> <td class="paramtype">const KonqHistoryEntry * </td> <td class="paramname"> <em>entry</em> </td> <td> ) </td> <td width="100%"><code> [signal]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Emitted after an entry was removed from the history Note, that this entry will be deleted immediately after you got that signal. <p> </div> </div><p> <a class="anchor" name="1438a0d1eebd319d02e4daf099c1a49b"></a><!-- doxytag: member="KonqHistoryManager::adjustSize" ref="1438a0d1eebd319d02e4daf099c1a49b" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KonqHistoryManager::adjustSize </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Resizes the history list to contain less or equal than m_maxCount entries. <p> The first (oldest) entries are removed. <p>Definition at line <a class="el" href="konq__historymgr_8cc-source.html#l00236">236</a> of file <a class="el" href="konq__historymgr_8cc-source.html">konq_historymgr.cc</a>.</p> </div> </div><p> <a class="anchor" name="426a3f8a1983b80c25d5288240cc5f53"></a><!-- doxytag: member="KonqHistoryManager::isExpired" ref="426a3f8a1983b80c25d5288240cc5f53" args="(KonqHistoryEntry *entry)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool KonqHistoryManager::isExpired </td> <td>(</td> <td class="paramtype">KonqHistoryEntry * </td> <td class="paramname"> <em>entry</em> </td> <td> ) </td> <td width="100%"><code> [inline, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>true if <code>entry</code> is older than the given maximum age, otherwise false. </dd></dl> <p>Definition at line <a class="el" href="konq__historymgr_8h-source.html#l00237">237</a> of file <a class="el" href="konq__historymgr_8h-source.html">konq_historymgr.h</a>.</p> </div> </div><p> <a class="anchor" name="2d825e18a190c451919b27d8478afa10"></a><!-- doxytag: member="KonqHistoryManager::emitAddToHistory" ref="2d825e18a190c451919b27d8478afa10" args="(const KonqHistoryEntry &entry)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KonqHistoryManager::emitAddToHistory </td> <td>(</td> <td class="paramtype">const KonqHistoryEntry & </td> <td class="paramname"> <em>entry</em> </td> <td> ) </td> <td width="100%"><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Notifes all running instances about a new HistoryEntry via DCOP. <p> <p>Definition at line <a class="el" href="konq__historymgr_8cc-source.html#l00350">350</a> of file <a class="el" href="konq__historymgr_8cc-source.html">konq_historymgr.cc</a>.</p> </div> </div><p> <a class="anchor" name="12efd869313261190b9ab117420a296b"></a><!-- doxytag: member="KonqHistoryManager::notifyHistoryEntry" ref="12efd869313261190b9ab117420a296b" args="(KonqHistoryEntry e, QCString saveId)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KonqHistoryManager::notifyHistoryEntry </td> <td>(</td> <td class="paramtype">KonqHistoryEntry </td> <td class="paramname"> <em>e</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">QCString </td> <td class="paramname"> <em>saveId</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Every konqueror instance broadcasts new history entries to the other konqueror instances. <p> Those add the entry to their list, but don't save the list, because the sender saves the list.<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>e</em> </td><td>the new history entry </td></tr> <tr><td valign="top"></td><td valign="top"><em>saveId</em> </td><td>is the <a class="elRef" doxygen="dcop.tag:../../../kdelibs-apidocs/dcop/html/" href="../../../kdelibs-apidocs/dcop/html/classDCOPObject.html#c5e9665001e7557572d295c7c0e40d14">DCOPObject::objId()</a> of the sender so that only the sender saves the new history. </td></tr> </table> </dl> <p>Implements <a class="el" href="classKonqHistoryComm.html">KonqHistoryComm</a>.</p> <p>Definition at line <a class="el" href="konq__historymgr_8cc-source.html#l00443">443</a> of file <a class="el" href="konq__historymgr_8cc-source.html">konq_historymgr.cc</a>.</p> </div> </div><p> <a class="anchor" name="5b1980118bb6de49ebb41160c0a4712f"></a><!-- doxytag: member="KonqHistoryManager::notifyMaxCount" ref="5b1980118bb6de49ebb41160c0a4712f" args="(Q_UINT32 count, QCString saveId)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KonqHistoryManager::notifyMaxCount </td> <td>(</td> <td class="paramtype">Q_UINT32 </td> <td class="paramname"> <em>count</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">QCString </td> <td class="paramname"> <em>saveId</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Called when the configuration of the maximum count changed. <p> Called via DCOP by some config-module <p>Implements <a class="el" href="classKonqHistoryComm.html">KonqHistoryComm</a>.</p> <p>Definition at line <a class="el" href="konq__historymgr_8cc-source.html#l00490">490</a> of file <a class="el" href="konq__historymgr_8cc-source.html">konq_historymgr.cc</a>.</p> </div> </div><p> <a class="anchor" name="31c688f71f1b01d0ca0b7629c795ab87"></a><!-- doxytag: member="KonqHistoryManager::notifyMaxAge" ref="31c688f71f1b01d0ca0b7629c795ab87" args="(Q_UINT32 days, QCString saveId)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KonqHistoryManager::notifyMaxAge </td> <td>(</td> <td class="paramtype">Q_UINT32 </td> <td class="paramname"> <em>days</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">QCString </td> <td class="paramname"> <em>saveId</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Called when the configuration of the maximum age of history-entries changed. <p> Called via DCOP by some config-module <p>Implements <a class="el" href="classKonqHistoryComm.html">KonqHistoryComm</a>.</p> <p>Definition at line <a class="el" href="konq__historymgr_8cc-source.html#l00506">506</a> of file <a class="el" href="konq__historymgr_8cc-source.html">konq_historymgr.cc</a>.</p> </div> </div><p> <a class="anchor" name="49175e7b70997725d6b2fd784ef755e3"></a><!-- doxytag: member="KonqHistoryManager::notifyClear" ref="49175e7b70997725d6b2fd784ef755e3" args="(QCString saveId)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KonqHistoryManager::notifyClear </td> <td>(</td> <td class="paramtype">QCString </td> <td class="paramname"> <em>saveId</em> </td> <td> ) </td> <td width="100%"><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Clears the history completely. <p> Called via DCOP by some config-module <p>Implements <a class="el" href="classKonqHistoryComm.html">KonqHistoryComm</a>.</p> <p>Definition at line <a class="el" href="konq__historymgr_8cc-source.html#l00522">522</a> of file <a class="el" href="konq__historymgr_8cc-source.html">konq_historymgr.cc</a>.</p> </div> </div><p> <a class="anchor" name="b2ca62bedf68c78696cf65cdf95f9463"></a><!-- doxytag: member="KonqHistoryManager::notifyRemove" ref="b2ca62bedf68c78696cf65cdf95f9463" args="(KURL url, QCString saveId)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KonqHistoryManager::notifyRemove </td> <td>(</td> <td class="paramtype"><a class="elRef" doxygen="kdecore.tag:../../../kdelibs-apidocs/kdecore/html/" href="../../../kdelibs-apidocs/kdecore/html/classKURL.html">KURL</a> </td> <td class="paramname"> <em>url</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">QCString </td> <td class="paramname"> <em>saveId</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Notifes about a url that has to be removed from the history. <p> The instance where saveId == <a class="elRef" doxygen="dcop.tag:../../../kdelibs-apidocs/dcop/html/" href="../../../kdelibs-apidocs/dcop/html/classDCOPObject.html#c5e9665001e7557572d295c7c0e40d14">objId()</a> has to save the history. <p>Implements <a class="el" href="classKonqHistoryComm.html">KonqHistoryComm</a>.</p> <p>Definition at line <a class="el" href="konq__historymgr_8cc-source.html#l00534">534</a> of file <a class="el" href="konq__historymgr_8cc-source.html">konq_historymgr.cc</a>.</p> </div> </div><p> <a class="anchor" name="ee056b409635a7ef99ab145789d971ff"></a><!-- doxytag: member="KonqHistoryManager::notifyRemove" ref="ee056b409635a7ef99ab145789d971ff" args="(KURL::List urls, QCString saveId)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KonqHistoryManager::notifyRemove </td> <td>(</td> <td class="paramtype"><a class="elRef" doxygen="kdecore.tag:../../../kdelibs-apidocs/kdecore/html/" href="../../../kdelibs-apidocs/kdecore/html/classKURL_1_1List.html">KURL::List</a> </td> <td class="paramname"> <em>urls</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">QCString </td> <td class="paramname"> <em>saveId</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Notifes about a list of urls that has to be removed from the history. <p> The instance where saveId == <a class="elRef" doxygen="dcop.tag:../../../kdelibs-apidocs/dcop/html/" href="../../../kdelibs-apidocs/dcop/html/classDCOPObject.html#c5e9665001e7557572d295c7c0e40d14">objId()</a> has to save the history. <p>Implements <a class="el" href="classKonqHistoryComm.html">KonqHistoryComm</a>.</p> <p>Definition at line <a class="el" href="konq__historymgr_8cc-source.html#l00558">558</a> of file <a class="el" href="konq__historymgr_8cc-source.html">konq_historymgr.cc</a>.</p> </div> </div><p> <a class="anchor" name="4d022b43d12063ed9852b8dd397a5995"></a><!-- doxytag: member="KonqHistoryManager::allURLs" ref="4d022b43d12063ed9852b8dd397a5995" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QStringList KonqHistoryManager::allURLs </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>a list of all urls in the history. </dd></dl> <p>Implements <a class="el" href="classKonqHistoryComm.html">KonqHistoryComm</a>.</p> <p>Definition at line <a class="el" href="konq__historymgr_8cc-source.html#l00675">675</a> of file <a class="el" href="konq__historymgr_8cc-source.html">konq_historymgr.cc</a>.</p> </div> </div><p> <a class="anchor" name="cdcff847fcb82190d68cc08444478303"></a><!-- doxytag: member="KonqHistoryManager::addToHistory" ref="cdcff847fcb82190d68cc08444478303" args="(bool pending, const KURL &url, const QString &typedURL=QString::null, const QString &title=QString::null)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KonqHistoryManager::addToHistory </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"> <em>pending</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" doxygen="kdecore.tag:../../../kdelibs-apidocs/kdecore/html/" href="../../../kdelibs-apidocs/kdecore/html/classKURL.html">KURL</a> & </td> <td class="paramname"> <em>url</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QString & </td> <td class="paramname"> <em>typedURL</em> = <code>QString::null</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QString & </td> <td class="paramname"> <em>title</em> = <code>QString::null</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Does the work for <a class="el" href="classKonqHistoryManager.html#7bbfb744a4c774a2d056a73b7faaaab2">addPending()</a> and <a class="el" href="classKonqHistoryManager.html#53e074b5bf1b6d4cdec41697eb00395e">confirmPending()</a>. <p> Adds an entry to the history. If an entry with <code>url</code> already exists, it will be updated (lastVisited date will become the current time and the number of visits will be incremented). <code>pending</code> means, the entry has not been "verified", it's been added right after typing the url. If <code>pending</code> is false, <code>url</code> will be removed from the pending urls (if available) and NOT be added again in that case. <p>Definition at line <a class="el" href="konq__historymgr_8cc-source.html#l00270">270</a> of file <a class="el" href="konq__historymgr_8cc-source.html">konq_historymgr.cc</a>.</p> </div> </div><p> <a class="anchor" name="210b9d4b46aba6993c3c2a4ca7527f74"></a><!-- doxytag: member="KonqHistoryManager::filterOut" ref="210b9d4b46aba6993c3c2a4ca7527f74" args="(const KURL &url)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool KonqHistoryManager::filterOut </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="kdecore.tag:../../../kdelibs-apidocs/kdecore/html/" href="../../../kdelibs-apidocs/kdecore/html/classKURL.html">KURL</a> & </td> <td class="paramname"> <em>url</em> </td> <td> ) </td> <td width="100%"><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>true if the given <code>url</code> should be filtered out and not be added to the history. By default, all local urls (url.isLocalFile()) will return true, as well as urls with an empty host. </dd></dl> <p>Definition at line <a class="el" href="konq__historymgr_8cc-source.html#l00664">664</a> of file <a class="el" href="konq__historymgr_8cc-source.html">konq_historymgr.cc</a>.</p> </div> </div><p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="aee710b801302792ce62ea6ad60bc3a6"></a><!-- doxytag: member="KonqHistoryManager::m_updateURLs" ref="aee710b801302792ce62ea6ad60bc3a6" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QStringList <a class="el" href="classKonqHistoryManager.html#aee710b801302792ce62ea6ad60bc3a6">KonqHistoryManager::m_updateURLs</a><code> [protected]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> The list of urls that is going to be emitted in slotEmitUpdated. <p> Add urls to it whenever you modify the list of history entries and start m_updateTimer. <p>Definition at line <a class="el" href="konq__historymgr_8h-source.html#l00325">325</a> of file <a class="el" href="konq__historymgr_8h-source.html">konq_historymgr.h</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="konq__historymgr_8h-source.html">konq_historymgr.h</a><li><a class="el" href="konq__historymgr_8cc-source.html">konq_historymgr.cc</a></ul> </div> </div></div> </td> </tr> <tr> <td valign="top" id="leftmenu" width="25%"> <a name="navigation"></a> <div class="menu_box"><h2>libkonq</h2> <div class="nav_list"> <ul><li><a href="index.html">Main Page</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="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="classFaviconsModule.html">faviconsmodule</option>, <option value="classKFileIVI.html">kfileivi</option>, <option value="classKNewMenu.html">knewmenu</option>, <option value="classKonqBgndDialog.html">konqbgnddialog</option>, <option value="classKonqFavIconMgr.html">konqfaviconmgr</option>, <option value="classKonqFMSettings.html">konqfmsettings</option>, <option value="classKonqHistoryComm.html">konqhistorycomm</option>, <option value="classKonqHistoryManager.html">konqhistorymanager</option>, <option value="classKonqIconDrag2.html">konqicondrag2</option>, <option value="classKonqIconViewWidget.html">konqiconviewwidget</option>, <option value="classKonqMultiRestoreJob.html">konqmultirestorejob</option>, <option value="classKonqOperations.html">konqoperations</option>, <option value="classKonqPopupMenu.html">konqpopupmenu</option>, <option value="classKonqPropsView.html">konqpropsview</option>, <option value="classKonqXMLGUIClient.html">konqxmlguiclient</option>, </select> </form> </div> --> </div></div> <div class="menu_box"><h2>API Dox</h2> <div class="nav_list"> <ul> <li><a href="../../kate/html/index.html">kate</a></li><li><a href="../../kwin/html/index.html">kwin</a></li><li> <a href="../../kwin/lib/html/index.html">lib</a></li><li><a href="../../libkonq/html/index.html">libkonq</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="mailto:groot@kde.org">Adriaan de Groot</a> and <a href="mailto:winter@kde.org">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>