diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-04-19 09:54:44 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-04-19 09:54:44 +0200 |
commit | c4e852c17c4c6c73baf73a7e5d50ddbbc296e39a (patch) | |
tree | 21a2865c4021e57538542ed8966cc59f17f3f133 /src/bookmarks/bookmarksmanager.h | |
parent | Merge commit 'refs/merge-requests/2242' of git://gitorious.org/rekonq/mainlin... (diff) | |
parent | Fix compile (diff) | |
download | rekonq-c4e852c17c4c6c73baf73a7e5d50ddbbc296e39a.tar.xz |
Merge commit 'refs/merge-requests/2243' of git://gitorious.org/rekonq/mainline into m2243
Diffstat (limited to 'src/bookmarks/bookmarksmanager.h')
-rw-r--r-- | src/bookmarks/bookmarksmanager.h | 36 |
1 files changed, 12 insertions, 24 deletions
diff --git a/src/bookmarks/bookmarksmanager.h b/src/bookmarks/bookmarksmanager.h index 7fb02970..8d09e122 100644 --- a/src/bookmarks/bookmarksmanager.h +++ b/src/bookmarks/bookmarksmanager.h @@ -113,7 +113,7 @@ public: * The default implementation does nothing. * This is only called if supportsTabs() returns true */ - virtual void openFolderinTabs(const KBookmarkGroup &bm); + virtual void openFolderinTabs(const KBookmarkGroup &bookmark); virtual QList< QPair<QString, QString> > currentBookmarkList() const; @@ -133,7 +133,6 @@ signals: // KDE Includes #include <KBookmarkMenu> - /** * This class represent the rekonq bookmarks menu. * It's just a simple class inherited from KBookmarkMenu @@ -148,13 +147,23 @@ public: KBookmarkOwner* owner, KMenu* menu, KActionCollection* actionCollection); + BookmarkMenu(KBookmarkManager *manager, + KBookmarkOwner *owner, + KMenu *parentMenu, + const QString &parentAddress); ~BookmarkMenu(); - virtual KMenu *viewContextMenu(QAction* action); +protected: + virtual KMenu * contextMenu(QAction * act); + virtual void refill(); + virtual QAction* actionForBookmark(const KBookmark &bookmark); protected slots: void slotAddBookmark(); +private: + void addOpenFolderInTabs(); + }; @@ -265,25 +274,4 @@ private: }; -// ------------------------------------------------------------------------------------------ - - -class BookmarkActionMenu : public KBookmarkActionMenu -{ - Q_OBJECT - -public: - BookmarkActionMenu (const KBookmarkGroup &bm, QObject *parent); - void addFolderActions(); - -private slots: - void openActionInTabs(); - void bookmarkCurrentPage(); - -private: - KBookmarkGroup m_group; - -}; - - #endif |