21 #ifndef __kbookmarkimporter_h
22 #define __kbookmarkimporter_h
25 #include <tqcstring.h>
26 #include <tqstringlist.h>
27 #include <ksimpleconfig.h>
29 #include "kbookmark.h"
44 void setFilename(
const TQString &filename) { m_fileName = filename; }
46 virtual void parse() = 0;
47 virtual TQString findDefaultLocation(
bool forSaving =
false)
const = 0;
50 void setupSignalForwards(TQObject *src, TQObject *dst);
58 void newBookmark(
const TQString & text,
const TQCString & url,
const TQString & additionalInfo);
64 void newFolder(
const TQString & text,
bool open,
const TQString & additionalInfo);
81 class KBookmarkImporterBasePrivate *d;
93 virtual TQString findDefaultLocation(
bool =
false)
const {
return TQString::null; }
95 virtual void visit(
const KBookmark &);
99 class KXBELBookmarkImporterImplPrivate *d;
103 #include "kbookmarkimporter_ns.h"
104 #include "kbookmarkimporter_kde1.h"
A class for importing NS bookmarks KEditBookmarks uses it to insert bookmarks into its DOM tree,...
void newFolder(const TQString &text, bool open, const TQString &additionalInfo)
Notify about a new folder Use "bookmark_folder" for the icon.
void newSeparator()
Notify about a new separator.
void endFolder()
Tell the outside world that we're going down one menu.
void newBookmark(const TQString &text, const TQCString &url, const TQString &additionalInfo)
Notify about a new bookmark Use "html" for the icon.
A class for importing XBEL files.