summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorJonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com>2026-05-15 09:23:09 +0200
committerGitHub <noreply@github.com>2026-05-15 02:23:09 -0500
commit55de581ee9829c5fcb5bae37504fad4e89cac721 (patch)
treed126ea862033f96da7381fc40322216af51adf66 /src/mainwindow.h
parent6748953d35516b948d83dd135cc970c805efeff0 (diff)
Add setting to show notifications when downloads complete or fail (#2338)
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index d3e1d480..cc7e3366 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -78,6 +78,7 @@ class DirectoryEntry;
#include <QProcess>
#include <QString>
#include <QStringList>
+#include <QSystemTrayIcon>
#include <QTime>
#include <QTimer>
#include <QVariant>
@@ -156,6 +157,10 @@ public:
return m_ArchiveListWriter;
}
+ void showNotification(const QString& title, const QString& message,
+ QSystemTrayIcon::MessageIcon icon =
+ QSystemTrayIcon::MessageIcon::Information) override;
+
public slots:
void refresherProgress(const DirectoryRefreshProgress* p);