playground/base/plasma/applets

Aaron J. Seigo aseigo at kde.org
Wed Aug 27 19:13:10 CEST 2008


On Wednesday 27 August 2008, Sebastian Kügler wrote:
>    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)?

the applets are created in MID::Protocol::Protocol (the constructor), but the 
signal connection doesn't happen until after that (in 
Manager::registerProtocol)

i've fixed this by addign a Protocol::init() pure virtual so that the applet 
can call init() whenever it makes sense (e.g. once all the connections are 
made ...)

btw, i think this would be generally useful as a feature, not just for MID. 
would you be cool with renaming it to *thinks* Plasmoid?

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20080827/1af758c3/attachment.sig 


More information about the Plasma-devel mailing list