summaryrefslogtreecommitdiff
path: root/src/bookmarks/bookmarksmanager.h
diff options
context:
space:
mode:
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.