Notification backends now can emit a signal activated() that tells MainWin to raise...
authorManuel Nickschas <sputnick@quassel-irc.org>
Mon, 5 Jan 2009 13:00:20 +0000 (14:00 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 5 Jan 2009 13:04:30 +0000 (14:04 +0100)
commitb324a124e384bd8c9f54d97c5b5d6a5cc50fd91b
tree4845822a0a7d433cbc825ae42ee7759aca9d54f0
parent75d7f7d582826603236394a37f43feb4cd725bb0
Notification backends now can emit a signal activated() that tells MainWin to raise itself

For now, this signal is emitted by systray, dbus and knotify. Unfortunately, raise() does not seem
to work with kwin and (according to docs) neither on Windows. Furthermore, my knotify seems
to be broken and doesn't signal a click at all. Thus, this whole thing got "limited" testing by me :)

Take it as "might work under some circumstances in some environments". Feedback welcome.
src/qtui/desktopnotificationbackend.cpp
src/qtui/knotificationbackend.cpp
src/qtui/knotificationbackend.h
src/qtui/mainwin.cpp
src/qtui/qtui.cpp
src/qtui/qtui.h
src/qtui/systraynotificationbackend.cpp
src/uisupport/abstractnotificationbackend.h