21 #ifndef KBOOKMARKBAR_H
22 #define KBOOKMARKBAR_H
25 #include <tqguardedptr.h>
26 #include <tqptrlist.h>
27 #include <kbookmark.h>
28 #include <tdeaction.h>
33 class TDEActionCollection;
62 TDEActionCollection *,
63 TQObject *parent = 0L,
const char *name = 0L);
70 bool isReadOnly()
const;
75 void setReadOnly(
bool);
80 TQString parentAddress();
86 void aboutToShowContextMenu(
const KBookmark &, TQPopupMenu * );
90 void openBookmark(
const TQString& url, TQt::ButtonState state );
95 void slotBookmarksChanged(
const TQString & );
96 void slotBookmarkSelected();
101 void slotBookmarkSelected( TDEAction::ActivationReason reason, TQt::ButtonState state );
104 void slotRMBActionRemove(
int );
106 void slotRMBActionInsert(
int );
108 void slotRMBActionCopyLocation(
int );
110 void slotRMBActionEditAt(
int );
112 void slotRMBActionProperties(
int );
116 virtual bool eventFilter( TQObject *o, TQEvent *e );
122 TQGuardedPtr<TDEToolBar> m_toolBar;
123 TDEActionCollection *m_actionCollection;
125 TQPtrList<KBookmarkMenu> m_lstSubMenus;
128 class KBookmarkBarPrivate* dptr()
const;
131 #endif // KBOOKMARKBAR_H