21 #ifndef __kbookmarkimporter_ns_h
22 #define __kbookmarkimporter_ns_h
25 #include <tqcstring.h>
26 #include <tqstringlist.h>
27 #include <ksimpleconfig.h>
28 #include <kdemacros.h>
30 #include "kbookmarkimporter.h"
31 #include "kbookmarkexporter.h"
45 void parseNSBookmarks() { parseNSBookmarks(
false); }
47 void parseNSBookmarks(
bool utf8 );
49 static TQString netscapeBookmarksFile(
bool forSaving=
false );
50 static TQString mozillaBookmarksFile(
bool forSaving=
false );
53 void newBookmark(
const TQString & text,
const TQCString & url,
const TQString & additionalInfo );
54 void newFolder(
const TQString & text,
bool open,
const TQString & additionalInfo );
71 void setUtf8(
bool utf8) { m_utf8 = utf8; }
73 virtual TQString findDefaultLocation(
bool forSaving =
false)
const;
76 class KNSBookmarkImporterImplPrivate *d;
89 class KMozillaBookmarkImporterImplPrivate *d;
101 : m_fileName(fileName), m_pManager(mgr) { }
104 void write() { write(
false); }
105 void write(
bool utf8 );
129 class KNSBookmarkExporterImplPrivate *d;