summaryrefslogtreecommitdiff
path: root/src/bookmarks/bookmarksmanager.h
diff options
context:
space:
mode:
authorJon Ander Peñalba <jonan88@gmail.com>2010-08-17 21:44:27 +0200
committerJon Ander Peñalba <jonan88@gmail.com>2010-08-19 12:53:51 +0200
commit3aa717e2c5e91f50648740e6c11e0657d77976fc (patch)
treeeb3e1a7ad649ec8e22e44d80c22a4566ccc83e51 /src/bookmarks/bookmarksmanager.h
parentMerge branch 'master' of gitorious.org:rekonq/mainline (diff)
downloadrekonq-3aa717e2c5e91f50648740e6c11e0657d77976fc.tar.xz
All insertion and deletion of bookmarks code moved to the same place (BookmarkOwner)
Diffstat (limited to 'src/bookmarks/bookmarksmanager.h')
-rw-r--r--src/bookmarks/bookmarksmanager.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/bookmarks/bookmarksmanager.h b/src/bookmarks/bookmarksmanager.h
index 6f97e4ef..19bfe5d2 100644
--- a/src/bookmarks/bookmarksmanager.h
+++ b/src/bookmarks/bookmarksmanager.h
@@ -90,6 +90,28 @@ public:
Qt::MouseButtons mouseButtons,
Qt::KeyboardModifiers keyboardModifiers);
+
+ /**
+ * Bookmarks the current page.
+ * @param position Where to insert the bookmark.
+ */
+ static void bookmarkPage(KBookmark &position);
+ /**
+ * Creates a new bookmark folder.
+ * @param position Where to insert the folder.
+ */
+ static void newBookmarkFolder(KBookmark &position);
+ /**
+ * Creates a new separator.
+ * @param position Where to insert the separator.
+ */
+ static void newSeparator(KBookmark &position);
+
+ /**
+ * Opens the edit dialog for a bookmark.
+ * @param bookmark The bookmark to edit.
+ */
+ static void editBookmark(KBookmark &bookmark);
/**
* Promps the user to delete a bookmark.
* @param bookmark The bookmark to delete.