summaryrefslogtreecommitdiff
path: root/src/bookmarks/bookmarkstreeitem.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bookmarks/bookmarkstreeitem.hpp')
-rw-r--r--src/bookmarks/bookmarkstreeitem.hpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/bookmarks/bookmarkstreeitem.hpp b/src/bookmarks/bookmarkstreeitem.hpp
index a0af91aa..1f87ecad 100644
--- a/src/bookmarks/bookmarkstreeitem.hpp
+++ b/src/bookmarks/bookmarkstreeitem.hpp
@@ -18,6 +18,25 @@
class BookmarksTreeItem {
public:
+ enum BookmarkAction {
+ OPEN = 0,
+ OPEN_IN_TAB,
+ OPEN_IN_WINDOW,
+ OPEN_FOLDER,
+ BOOKMARK_PAGE,
+ NEW_FOLDER,
+ NEW_SEPARATOR,
+ COPY,
+ EDIT,
+#ifdef HAVE_NEPOMUK
+ FANCYBOOKMARK,
+#endif
+ DELETE,
+ NUM_ACTIONS,
+ SET_TOOLBAR_FOLDER,
+ UNSET_TOOLBAR_FOLDER
+ };
+
enum Types { Root, Folder, Bookmark, Separator, Alias };
constexpr static int TypesCount = 5;