summaryrefslogtreecommitdiff
path: root/src/bookmarks/bookmarkscontextmenu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bookmarks/bookmarkscontextmenu.h')
-rw-r--r--src/bookmarks/bookmarkscontextmenu.h24
1 files changed, 6 insertions, 18 deletions
diff --git a/src/bookmarks/bookmarkscontextmenu.h b/src/bookmarks/bookmarkscontextmenu.h
index c32c5962..424f8da4 100644
--- a/src/bookmarks/bookmarkscontextmenu.h
+++ b/src/bookmarks/bookmarkscontextmenu.h
@@ -30,36 +30,24 @@
// KDE Includes
#include <KBookmarkMenu>
+// Forward Declarations
+class BookmarkOwner;
class BookmarksContextMenu : public KBookmarkContextMenu
{
- Q_OBJECT
-
public:
- BookmarksContextMenu(const KBookmark & bk, KBookmarkManager * manager, KBookmarkOwner *owner, QWidget * parent = 0);
- ~BookmarksContextMenu();
+ BookmarksContextMenu(const KBookmark &bookmark, KBookmarkManager *manager, BookmarkOwner *owner, QWidget *parent = 0);
+ virtual ~BookmarksContextMenu();
virtual void addActions();
-private slots:
- void openInCurrentTab();
- void openInNewTab();
- void openInNewWindow();
- void copyToClipboard();
- void deleteBookmark();
- void openFolderInTabs();
- void editBookmark();
- void newBookmarkGroup();
- void newSeparator();
- void bookmarkCurrentPage();
-
private:
- void setupActions();
void addFolderActions();
void addBookmarkActions();
void addSeparatorActions();
+ void addNullActions();
- KActionCollection *m_ac;
+ BookmarkOwner *bmOwner;
};
#endif // BOOKMARKCONTEXTMENU_H