20 #ifndef _KBOOKMARKHANDLER_H_
21 #define _KBOOKMARKHANDLER_H_
23 #include <kbookmarkmanager.h>
24 #include <kbookmarkmenu.h>
26 class KateFileSelector;
33 class KBookmarkHandler :
public TQObject,
public KBookmarkOwner
38 KBookmarkHandler( KateFileSelector *parent, TDEPopupMenu *tdepopupmenu=0 );
42 virtual void openBookmarkURL(
const TQString& url ) { emit openURL( url ); }
43 virtual TQString currentURL()
const;
45 TDEPopupMenu *menu()
const {
return m_menu; }
48 void openURL(
const TQString& url );
51 void slotNewBookmark(
const TQString& text,
const TQCString& url,
52 const TQString& additionalInfo );
53 void slotNewFolder(
const TQString& text,
bool open,
54 const TQString& additionalInfo );
59 virtual void virtual_hook(
int id,
void* data );
62 KateFileSelector *mParent;
64 KBookmarkMenu *m_bookmarkMenu;
66 TQTextStream *m_importStream;