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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to