diff options
| author | Mike Skec <skec@protonmail.ch> | 2021-01-07 19:28:39 +1100 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2021-01-07 10:05:00 +0100 |
| commit | 2e0b8d3495d6c46c2d3afb88787fd7ca3ed1558e (patch) | |
| tree | e0e878b871b81a4e6e3bc24bf39ca135dfe91671 /src/favouritecollection.hpp | |
| parent | 19046566a62f9e616a23584ebbe045ddbc132023 (diff) | |
| download | kristall-2e0b8d3495d6c46c2d3afb88787fd7ca3ed1558e.tar.gz | |
Added new context menus to favourite group
Diffstat (limited to 'src/favouritecollection.hpp')
| -rw-r--r-- | src/favouritecollection.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
