19 #ifndef __kbookmarkimporter_ns_h
20 #define __kbookmarkimporter_ns_h
23 #include <tqcstring.h>
24 #include <tqstringlist.h>
25 #include <tdesimpleconfig.h>
26 #include <tdemacros.h>
28 #include "kbookmarkimporter.h"
29 #include "kbookmarkexporter.h"
43 void parseNSBookmarks() { parseNSBookmarks(
false); }
45 void parseNSBookmarks(
bool utf8 );
47 static TQString netscapeBookmarksFile(
bool forSaving=
false );
48 static TQString mozillaBookmarksFile(
bool forSaving=
false );
51 void newBookmark(
const TQString & text,
const TQCString & url,
const TQString & additionalInfo );
52 void newFolder(
const TQString & text,
bool open,
const TQString & additionalInfo );
69 void setUtf8(
bool utf8) { m_utf8 = utf8; }
71 virtual TQString findDefaultLocation(
bool forSaving =
false)
const;
74 class KNSBookmarkImporterImplPrivate *d;
87 class KMozillaBookmarkImporterImplPrivate *d;
99 : m_fileName(fileName), m_pManager(mgr) { }
102 void write() { write(
false); }
103 void write(
bool utf8 );
127 class KNSBookmarkExporterImplPrivate *d;
A class for importing NS bookmarks utf8 defaults to off.
A class that exports all the current bookmarks to Netscape/Mozilla bookmarks Warning,...
A class for importing Mozilla bookmarks utf8 defaults to on.
A class for importing NS bookmarks.
This class implements the reading/writing of bookmarks in XML.
A class for importing NS bookmarks KEditBookmarks uses it to insert bookmarks into its DOM tree,...