19 #ifndef KBOOKMARKBAR_H
20 #define KBOOKMARKBAR_H
23 #include <tqguardedptr.h>
24 #include <tqptrlist.h>
25 #include <kbookmark.h>
26 #include <tdeaction.h>
31 class TDEActionCollection;
60 TDEActionCollection *,
61 TQObject *parent = 0L,
const char *name = 0L);
68 bool isReadOnly()
const;
73 void setReadOnly(
bool);
78 TQString parentAddress();
93 void slotBookmarksChanged(
const TQString & );
94 void slotBookmarkSelected();
99 void slotBookmarkSelected( TDEAction::ActivationReason reason, TQt::ButtonState state );
102 void slotRMBActionRemove(
int );
104 void slotRMBActionInsert(
int );
106 void slotRMBActionCopyLocation(
int );
108 void slotRMBActionEditAt(
int );
110 void slotRMBActionProperties(
int );
114 virtual bool eventFilter( TQObject *o, TQEvent *e );
120 TQGuardedPtr<TDEToolBar> m_toolBar;
121 TDEActionCollection *m_actionCollection;
123 TQPtrList<KBookmarkMenu> m_lstSubMenus;
126 class KBookmarkBarPrivate* dptr()
const;
This class provides a bookmark toolbar.
void aboutToShowContextMenu(const KBookmark &, TQPopupMenu *)
void openBookmark(const TQString &url, TQt::ButtonState state)
This class implements the reading/writing of bookmarks in XML.
The KBookmarkMenu and KBookmarkBar classes gives the user the ability to either edit bookmarks or add...