summaryrefslogtreecommitdiff
path: root/src/bookmarks/bookmarkspanel.h
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2010-04-06 12:43:21 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-04-08 00:56:40 +0200
commita48a5a4157e9af22adb3a7673203ed8ced5ceeab (patch)
tree0a5763a08fda4f3bc5101455f788d069a6947bb8 /src/bookmarks/bookmarkspanel.h
parentDo not update downloads history when private browsing is enabled. (diff)
downloadrekonq-a48a5a4157e9af22adb3a7673203ed8ced5ceeab.tar.xz
- Enable context menu for folders and separators of the bookmark bar
- Use the same context menu for the bookmark panel and the bookmark bar - Use a list to store the different bookmark bars - Fix the different crashes when there are more than one window - When the bookmarks are changed, all the bars are refreshed
Diffstat (limited to 'src/bookmarks/bookmarkspanel.h')
-rw-r--r--src/bookmarks/bookmarkspanel.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/bookmarks/bookmarkspanel.h b/src/bookmarks/bookmarkspanel.h
index f8528b71..374c48f4 100644
--- a/src/bookmarks/bookmarkspanel.h
+++ b/src/bookmarks/bookmarkspanel.h
@@ -39,7 +39,6 @@
// KDE Includes
#include <KBookmark>
-#include <KActionCollection>
// Forward Declarations
class KUrl;
@@ -60,29 +59,20 @@ signals:
void saveOnlyRequested();
private slots:
- void contextMenuBk(const QPoint &pos);
- void contextMenuBkGroup(const QPoint &pos, const bool emptyGroup = false);
- void contextMenuBlank(const QPoint &pos);
+ void contextMenu(const QPoint &pos);
+
void deleteBookmark();
- void openFolderInTabs();
- void editBookmark();
- void newBookmarkGroup();
- void newSeparator();
void onCollapse(const QModelIndex &index);
void onExpand(const QModelIndex &index);
- void bookmarkCurrentPage();
void loadFoldedState(const QModelIndex &root);
void loadFoldedState();
private:
void setup();
- void setupActions();
- void contextMenuSeparator(const QPoint &pos);
KBookmark bookmarkForIndex(const QModelIndex &index);
UrlTreeView *m_treeView;
- KActionCollection *m_ac;
bool m_loadingState;
};