21 #include <kfiledialog.h>
22 #include <kstringhandler.h>
25 #include <kcharsets.h>
26 #include <tqtextcodec.h>
28 #include <sys/types.h>
34 #include "kbookmarkmanager.h"
36 #include "kbookmarkimporter_ns.h"
37 #include "kbookmarkimporter_opera.h"
38 #include "kbookmarkimporter_ie.h"
40 #include "kbookmarkimporter.h"
42 void KXBELBookmarkImporterImpl::parse()
52 void KXBELBookmarkImporterImpl::visit(
const KBookmark &bk)
58 emit
newBookmark(bk.fullText(), bk.url().url().utf8(),
"");
61 void KXBELBookmarkImporterImpl::visitEnter(
const KBookmarkGroup &grp)
64 emit
newFolder(grp.fullText(),
false,
"");
73 void KBookmarkImporterBase::setupSignalForwards(TQObject *src, TQObject *dst)
75 connect(src, TQT_SIGNAL(
newBookmark(
const TQString &,
const TQCString &,
const TQString & ) ),
76 dst, TQT_SIGNAL(
newBookmark(
const TQString &,
const TQCString &,
const TQString & ) ));
77 connect(src, TQT_SIGNAL(
newFolder(
const TQString &,
bool,
const TQString & ) ),
78 dst, TQT_SIGNAL(
newFolder(
const TQString &,
bool,
const TQString & ) ));
87 if (type ==
"netscape")
89 else if (type ==
"mozilla")
91 else if (type ==
"xbel")
93 else if (type ==
"ie")
95 else if (type ==
"opera")
101 #include <kbookmarkimporter.moc>