Improved support for org.freedesktop.Notifications.
authorDennis Schridde <devurandom@gna.org>
Wed, 21 May 2008 13:03:29 +0000 (15:03 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 22 Jul 2008 19:42:35 +0000 (21:42 +0200)
commit85c2a2a853e4f4d4488344672d47c2aa77172f69
tree46912cf7e4a5fa18539e6d38f4e6571ffc865d8c
parentcd3dc8132fa88bd81e8aa2c9947d3540e1f56f37
Improved support for org.freedesktop.Notifications.

Add a DesktopNotifications class derived from QDBusAbstractInterface, to be able to call the interface more conveniently.
Replace notifications if possible, instead of spamming new ones.
React on NotificationClosed signals to properly decide which replace_id to use.
Add a dummy button for demonstration to the notification.
src/client/desktopnotifications.cpp [new file with mode: 0644]
src/client/desktopnotifications.h [new file with mode: 0644]
src/client/org.freedesktop.Notifications.xml [new file with mode: 0644]
src/qtui/mainwin.cpp
src/qtui/mainwin.h