<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US"> <head> <title>kio/bookmarks: KBookmarkImporterBase Class Reference (kio/bookmarks)</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org" r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org" r (n 0 s 0 v 0 l 0))' /> <meta name="trademark" content="KDE e.V." /> <meta name="description" content="K Desktop Environment Homepage, KDE.org" /> <meta name="MSSmartTagsPreventParsing" content="true" /> <meta name="robots" content="all" /> <link rel="shortcut icon" href="../../../favicon.ico" /> <link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" /> </head> <body> <div id="nav_header_top" align="right"> <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a> <a href="../../.."><img id="nav_header_logo" alt="Home" align="left" src="../../../kde_gear_64.png" border="0" /></a> <span class="doNotDisplay">::</span> <div id="nav_header_title" align="left">KDE API Reference</div> </div> <div id="nav_header_bottom" align="right"> <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span> <div id="nav_header_bottom_right" style="text-align: left;"> / <a href="../../..">API Reference</a> / <a href="../../html/index.html">kio</a> / <a href=".">bookmarks</a> </div> </div> <table id="main" border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td valign="top" class="menuheader" height="0"></td> <td id="contentcolumn" valign="top" rowspan="2" > <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;"> <a name="content"></a> <!-- Generated by Doxygen 1.7.4 --> </div> <div class="header"> <div class="summary"> <a href="#signals">Signals</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#pro-attribs">Protected Attributes</a> </div> <div class="headertitle"> <div class="title">KBookmarkImporterBase Class Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="KBookmarkImporterBase" --><!-- doxytag: inherits="QObject" --> <p>A class for importing NS bookmarks KEditBookmarks uses it to insert bookmarks into its DOM tree, and KActionMenu uses it to create actions directly. <a href="classKBookmarkImporterBase.html#details">More...</a></p> <p><code>#include <<a class="el" href="kbookmarkimporter_8h_source.html">kbookmarkimporter.h</a>></code></p> <div class="dynheader"> Inheritance diagram for KBookmarkImporterBase:</div> <div class="dyncontent"> <div class="center"> <img src="classKBookmarkImporterBase.png" usemap="#KBookmarkImporterBase_map" alt=""/> <map id="KBookmarkImporterBase_map" name="KBookmarkImporterBase_map"> <area href="qobject.html" alt="QObject" shape="rect" coords="386,0,569,24"/> <area href="classKCrashBookmarkImporterImpl.html" title="A class for importing all crash sessions as bookmarks." alt="KCrashBookmarkImporterImpl" shape="rect" coords="0,112,183,136"/> <area href="classKIEBookmarkImporterImpl.html" title="A class for importing IE bookmarks." alt="KIEBookmarkImporterImpl" shape="rect" coords="193,112,376,136"/> <area href="classKNSBookmarkImporterImpl.html" title="A class for importing NS bookmarks utf8 defaults to off." alt="KNSBookmarkImporterImpl" shape="rect" coords="386,112,569,136"/> <area href="classKOperaBookmarkImporterImpl.html" title="A class for importing Opera bookmarks." alt="KOperaBookmarkImporterImpl" shape="rect" coords="579,112,762,136"/> <area href="classKXBELBookmarkImporterImpl.html" title="A class for importing XBEL files." alt="KXBELBookmarkImporterImpl" shape="rect" coords="772,112,955,136"/> <area href="classKMozillaBookmarkImporterImpl.html" title="A class for importing Mozilla bookmarks utf8 defaults to on." alt="KMozillaBookmarkImporterImpl" shape="rect" coords="386,168,569,192"/> </map> </div></div> <p><a href="classKBookmarkImporterBase-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="signals"></a> Signals</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKBookmarkImporterBase.html#a002ffe6dbb538cf996d2a75b777ce245">newBookmark</a> (const <a class="elRef" href="qstring.html">QString</a> &text, const <a class="elRef" href="qcstring.html">QCString</a> &url, const <a class="elRef" href="qstring.html">QString</a> &additionalInfo)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKBookmarkImporterBase.html#a5e3105a0e31ea36cfb318da6eb792ebe">newFolder</a> (const <a class="elRef" href="qstring.html">QString</a> &text, bool open, const <a class="elRef" href="qstring.html">QString</a> &additionalInfo)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKBookmarkImporterBase.html#a3ea59a77426f6bd18c8ddc5463da40b8">newSeparator</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKBookmarkImporterBase.html#a58815056531bb99c39755258c12e0011">endFolder</a> ()</td></tr> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a477f468e933fdf30660095b76fa3774b"></a><!-- doxytag: member="KBookmarkImporterBase::setFilename" ref="a477f468e933fdf30660095b76fa3774b" args="(const QString &filename)" --> void </td><td class="memItemRight" valign="bottom"><b>setFilename</b> (const <a class="elRef" href="qstring.html">QString</a> &filename)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adc3a2c0dc6ad299163457ae9550990d5"></a><!-- doxytag: member="KBookmarkImporterBase::parse" ref="adc3a2c0dc6ad299163457ae9550990d5" args="()=0" --> virtual void </td><td class="memItemRight" valign="bottom"><b>parse</b> ()=0</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7056600d62fe84a0c8cd4b23acb8f17f"></a><!-- doxytag: member="KBookmarkImporterBase::findDefaultLocation" ref="a7056600d62fe84a0c8cd4b23acb8f17f" args="(bool forSaving=false) const =0" --> virtual <a class="elRef" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><b>findDefaultLocation</b> (bool forSaving=false) const =0</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9708d5f605438678b6be6a89703b6e27"></a><!-- doxytag: member="KBookmarkImporterBase::setupSignalForwards" ref="a9708d5f605438678b6be6a89703b6e27" args="(QObject *src, QObject *dst)" --> void </td><td class="memItemRight" valign="bottom"><b>setupSignalForwards</b> (<a class="elRef" href="qobject.html">QObject</a> *src, <a class="elRef" href="qobject.html">QObject</a> *dst)</td></tr> <tr><td colspan="2"><h2><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afaedff5ef60e8e4412a30ccd2b28b44d"></a><!-- doxytag: member="KBookmarkImporterBase::factory" ref="afaedff5ef60e8e4412a30ccd2b28b44d" args="(const QString &type)" --> static <a class="el" href="classKBookmarkImporterBase.html">KBookmarkImporterBase</a> * </td><td class="memItemRight" valign="bottom"><b>factory</b> (const <a class="elRef" href="qstring.html">QString</a> &type)</td></tr> <tr><td colspan="2"><h2><a name="pro-attribs"></a> Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5f2e653ab01344923fbd2fdfbb317557"></a><!-- doxytag: member="KBookmarkImporterBase::m_fileName" ref="a5f2e653ab01344923fbd2fdfbb317557" args="" --> <a class="elRef" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><b>m_fileName</b></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>A class for importing NS bookmarks KEditBookmarks uses it to insert bookmarks into its DOM tree, and KActionMenu uses it to create actions directly. </p> <dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl> <p>Definition at line <a class="el" href="kbookmarkimporter_8h_source.html#l00037">37</a> of file <a class="el" href="kbookmarkimporter_8h_source.html">kbookmarkimporter.h</a>.</p> </div><hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a58815056531bb99c39755258c12e0011"></a><!-- doxytag: member="KBookmarkImporterBase::endFolder" ref="a58815056531bb99c39755258c12e0011" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KBookmarkImporterBase::endFolder </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [signal]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Tell the outside world that we're going down one menu. </p> </div> </div> <a class="anchor" id="a002ffe6dbb538cf996d2a75b777ce245"></a><!-- doxytag: member="KBookmarkImporterBase::newBookmark" ref="a002ffe6dbb538cf996d2a75b777ce245" args="(const QString &text, const QCString &url, const QString &additionalInfo)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KBookmarkImporterBase::newBookmark </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>text</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> & </td> <td class="paramname"><em>url</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>additionalInfo</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [signal]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Notify about a new bookmark Use "html" for the icon. </p> </div> </div> <a class="anchor" id="a5e3105a0e31ea36cfb318da6eb792ebe"></a><!-- doxytag: member="KBookmarkImporterBase::newFolder" ref="a5e3105a0e31ea36cfb318da6eb792ebe" args="(const QString &text, bool open, const QString &additionalInfo)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KBookmarkImporterBase::newFolder </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>text</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>open</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>additionalInfo</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [signal]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Notify about a new folder Use "bookmark_folder" for the icon. </p> </div> </div> <a class="anchor" id="a3ea59a77426f6bd18c8ddc5463da40b8"></a><!-- doxytag: member="KBookmarkImporterBase::newSeparator" ref="a3ea59a77426f6bd18c8ddc5463da40b8" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KBookmarkImporterBase::newSeparator </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [signal]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Notify about a new separator. </p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="kbookmarkimporter_8h_source.html">kbookmarkimporter.h</a></li> <li><a class="el" href="kbookmarkimporter_8cc_source.html">kbookmarkimporter.cc</a></li> </ul> </div> </div></div> </td> </tr> <tr> <td valign="top" id="leftmenu" width="25%"> <a name="navigation"></a> <div class="menu_box"><h2>kio/bookmarks</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="classKBookmarkBar.html">kbookmarkbar</option>, <option value="classKBookmarkDomBuilder.html">kbookmarkdombuilder</option>, <option value="classKBookmarkExporterBase.html">kbookmarkexporterbase</option>, <option value="classKBookmarkGroup.html">kbookmarkgroup</option>, <option value="classKBookmarkGroupTraverser.html">kbookmarkgrouptraverser</option>, <option value="classKBookmarkImporter.html">kbookmarkimporter</option>, <option value="classKBookmarkImporterBase.html">kbookmarkimporterbase</option>, <option value="classKBookmarkManager.html">kbookmarkmanager</option>, <option value="classKBookmarkMenu.html">kbookmarkmenu</option>, <option value="classKBookmarkMenuNSImporter.html">kbookmarkmenunsimporter</option>, <option value="classKBookmarkNotifier.html">kbookmarknotifier</option>, <option value="classKBookmarkOwner.html">kbookmarkowner</option>, <option value="classKCrashBookmarkImporter.html">kcrashbookmarkimporter</option>, <option value="classKCrashBookmarkImporterImpl.html">kcrashbookmarkimporterimpl</option>, <option value="classKExtendedBookmarkOwner.html">kextendedbookmarkowner</option>, <option value="classKIEBookmarkImporter.html">kiebookmarkimporter</option>, <option value="classKIEBookmarkImporterImpl.html">kiebookmarkimporterimpl</option>, <option value="classKMozillaBookmarkImporterImpl.html">kmozillabookmarkimporterimpl</option>, <option value="classKNSBookmarkExporter.html">knsbookmarkexporter</option>, <option value="classKNSBookmarkExporterImpl.html">knsbookmarkexporterimpl</option>, <option value="classKNSBookmarkImporter.html">knsbookmarkimporter</option>, <option value="classKNSBookmarkImporterImpl.html">knsbookmarkimporterimpl</option>, <option value="classKOperaBookmarkExporterImpl.html">koperabookmarkexporterimpl</option>, <option value="classKOperaBookmarkImporter.html">koperabookmarkimporter</option>, <option value="classKOperaBookmarkImporterImpl.html">koperabookmarkimporterimpl</option>, <option value="classKXBELBookmarkImporterImpl.html">kxbelbookmarkimporterimpl</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> <a href="../../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li> <a href="../../../interfaces/kimproxy/library/html/index.html">library</a></li><li> <a href="../../../interfaces/kspeech/html/index.html">kspeech</a></li><li> <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> <a href="../../../kio/bookmarks/html/index.html">bookmarks</a></li><li> <a href="../../../kio/httpfilter/html/index.html">httpfilter</a></li><li> <a href="../../../kio/kfile/html/index.html">kfile</a></li><li> <a href="../../../kio/kio/html/index.html">kio</a></li><li> <a href="../../../kio/kioexec/html/index.html">kioexec</a></li><li> <a href="../../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li> <a href="../../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../../kioslave/html/index.html">kioslave</a></li><li> <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> <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="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>