From 3feb769071009665c4f5a7c0345cb927541a5e4a Mon Sep 17 00:00:00 2001 From: Rello Date: Wed, 24 Sep 2025 16:48:00 +0700 Subject: [PATCH] Add methods for offline, ok, error, sync, pause, and warning icons Added new methods for icon status retrieval. Signed-off-by: Rello --- src/libsync/theme.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/libsync/theme.h b/src/libsync/theme.h index b54a9c8027..f58ed444d7 100644 --- a/src/libsync/theme.h +++ b/src/libsync/theme.h @@ -172,6 +172,22 @@ public: [[nodiscard]] QUrl folderOffline() const; + /** + * @brief nneutral icons for in-app status + * @return QUrl full path to an icon + */ + [[nodiscard]] QUrl offline() const; + + [[nodiscard]] QUrl ok() const; + + [[nodiscard]] QUrl error() const; + + [[nodiscard]] QUrl sync() const; + + [[nodiscard]] QUrl pause() const; + + [[nodiscard]] QUrl warning() const; + /** * @brief configFileName * @return the name of the config file.