diff options
| author | Felix (xq) Queißner <git@mq32.de> | 2020-06-29 22:29:23 +0200 |
|---|---|---|
| committer | Felix (xq) Queißner <git@mq32.de> | 2020-06-29 22:29:23 +0200 |
| commit | 2477fbfd100d00221cd0b51d22c32ba3618a8c2f (patch) | |
| tree | 147b4517d846a5eedd4387ca6c07efedfafc501a /src/favouritecollection.hpp | |
| parent | b65fac29aeaceb6bf8bf9df7a852cdd4a8b651c8 (diff) | |
| download | kristall-2477fbfd100d00221cd0b51d22c32ba3618a8c2f.tar.gz | |
Adds delete button for favourites, adds improved about:favourites rendering.
Diffstat (limited to 'src/favouritecollection.hpp')
| -rw-r--r-- | src/favouritecollection.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/favouritecollection.hpp b/src/favouritecollection.hpp index ed056ae..3dffa10 100644 --- a/src/favouritecollection.hpp +++ b/src/favouritecollection.hpp @@ -91,8 +91,10 @@ public: bool canDeleteGroup(QString const & group_name); bool deleteGroup(QString const & group_name); - //! Returns a list of non-mutable references to all contained identities - QVector<Favourite const *> allFavourites() const; + //! 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 + //! will be listed, then all for group b, no intermixing is done. + QVector<QPair<QString, Favourite const *>> allFavourites() const; bool containsUrl(QUrl const & url) const; |
