broulik created this revision. broulik added reviewers: Plasma, Frameworks, vkrause, ogoffart, mck182. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. broulik requested review of this revision.
REVISION SUMMARY This lets the application set an urgency hint on the notification, which can be low, normal, or critical. The notification server can then apply different behavior, e.g. show critical notifications on top of full screen windows, or suppress low urgency notifications by default. See https://developer.gnome.org/notification-spec/#urgency-levels TEST PLAN - Put `Urgency=Critical` into a notifyrc file, had it send the hint "2" REPOSITORY R289 KNotifications REVISION DETAIL https://phabricator.kde.org/D20158 AFFECTED FILES src/knotification.cpp src/knotification.h src/knotificationmanager.cpp src/notifybypopup.cpp To: broulik, #plasma, #frameworks, vkrause, ogoffart, mck182 Cc: kde-frameworks-devel, michaelh, ngraham, bruns