19 #ifndef __kbookmarkimporter_h
20 #define __kbookmarkimporter_h
23 #include <tqcstring.h>
24 #include <tqstringlist.h>
25 #include <ksimpleconfig.h>
27 #include "kbookmark.h"
42 void setFilename(
const TQString &filename) { m_fileName = filename; }
44 virtual void parse() = 0;
45 virtual TQString findDefaultLocation(
bool forSaving =
false)
const = 0;
48 void setupSignalForwards(TQObject *src, TQObject *dst);
56 void newBookmark(
const TQString & text,
const TQCString & url,
const TQString & additionalInfo);
62 void newFolder(
const TQString & text,
bool open,
const TQString & additionalInfo);
79 class KBookmarkImporterBasePrivate *d;
91 virtual TQString findDefaultLocation(
bool =
false)
const {
return TQString::null; }
93 virtual void visit(
const KBookmark &);
97 class KXBELBookmarkImporterImplPrivate *d;
101 #include "kbookmarkimporter_ns.h"
102 #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.