Add "Notification timeout" option

This commit is contained in:
kevtechxx
2021-04-13 16:22:48 +02:00
parent d82a1d7198
commit 7722916fad
4 changed files with 39 additions and 1 deletions

View File

@@ -96,6 +96,10 @@ public:
void setNotificationsEnabled(bool value);
bool isTorrentAddedNotificationsEnabled() const;
void setTorrentAddedNotificationsEnabled(bool value);
#if (defined(Q_OS_UNIX) && !defined(Q_OS_MACOS)) && defined(QT_DBUS_LIB)
int getNotificationTimeout() const;
void setNotificationTimeout(int value);
#endif
// Misc properties
bool isDownloadTrackerFavicon() const;