|
|
|
|
@ -131,6 +131,11 @@ class NOTIFICATIONMANAGER_EXPORT Settings : public QObject |
|
|
|
|
*/ |
|
|
|
|
Q_PROPERTY(QStringList historyBlacklistedServices READ historyBlacklistedServices NOTIFY settingsChanged) |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* A list of desktop entries of applications which shouldn't show badges in task manager. |
|
|
|
|
*/ |
|
|
|
|
Q_PROPERTY(QStringList badgeBlacklistedApplications READ badgeBlacklistedApplications NOTIFY settingsChanged) |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The date until which do not disturb mode is enabled. |
|
|
|
|
* |
|
|
|
|
@ -284,6 +289,8 @@ public: |
|
|
|
|
QStringList historyBlacklistedApplications() const; |
|
|
|
|
QStringList historyBlacklistedServices() const; |
|
|
|
|
|
|
|
|
|
QStringList badgeBlacklistedApplications() const; |
|
|
|
|
|
|
|
|
|
QDateTime notificationsInhibitedUntil() const; |
|
|
|
|
void setNotificationsInhibitedUntil(const QDateTime &time); |
|
|
|
|
void resetNotificationsInhibitedUntil(); |
|
|
|
|
|