From 2e0b8d3495d6c46c2d3afb88787fd7ca3ed1558e Mon Sep 17 00:00:00 2001 From: Mike Skec Date: Thu, 7 Jan 2021 19:28:39 +1100 Subject: Added new context menus to favourite group --- src/favouritecollection.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/favouritecollection.hpp') diff --git a/src/favouritecollection.hpp b/src/favouritecollection.hpp index f33b90b..9c18ec3 100644 --- a/src/favouritecollection.hpp +++ b/src/favouritecollection.hpp @@ -75,6 +75,8 @@ public: bool addGroup(QString const & group); + bool renameGroup(QString const & old_name, QString const & new_name); + bool addFavourite(QString const & group, Favourite const & fav); void editFavouriteTitle(const QModelIndex &index, const QString &title); @@ -101,6 +103,7 @@ public: bool canDeleteGroup(QString const & group_name); bool deleteGroup(QString const & group_name); + bool deleteGroupRecursive(QString const & group_name); //! Returns a list of non-mutable references to all contained favourites. //! Note that the group will change in-order, so all favourites for group a -- cgit v1.2.3