From 3aa717e2c5e91f50648740e6c11e0657d77976fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Ander=20Pe=C3=B1alba?= Date: Tue, 17 Aug 2010 21:44:27 +0200 Subject: All insertion and deletion of bookmarks code moved to the same place (BookmarkOwner) --- src/bookmarks/bookmarksmanager.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'src/bookmarks/bookmarksmanager.h') 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. -- cgit v1.2.1