Revision 853392

Go back to digest for 31st August 2008

Features in KDE Base

Sebastian Kügler committed changes in /trunk/playground/base/plasma/applets:

(As Jason is moving houses, I'll use this opportunity to sneak my code in)

Beginnings of applets-in-the-systray.
This commit adds a new protocol (Systemtray::MID::Protocol) and a corresponding subclass to Systemtray::Task (which would be Systemtray::MID::Task).
The Systemtray::Manager now also loads MID::Protocol. MID::Task loads an applet and pass this as QGraphicsWidget up to the Systemtray::Manager.

Pretty much everything seems to be in place, but after loading the applet, the taskCreated(task) signal is not received by the manager, (it's sent from the protocol after loading the applet).

Can someone help me out and have a look why the signal is never received (and keep me from banging my head against a wall)?

File Changes

Added 5 files
  • /trunk/playground/base/plasma/applets/systray-refactor/core/mid
  •   /midprotocol.cpp
  •   /midprotocol.h
  •   /midtask.cpp
  •   /midtask.h
Modified 3 files
  • /trunk/playground/base/plasma/applets
  •   /CMakeLists.txt
  •   /systray-refactor/CMakeLists.txt
  •   /systray-refactor/core/manager.cpp
8 files changed in total