Mmmh so I did it the wrong way because I implemented the event on my applet class and not on the graphicsWidget(). I'll fix this soon. Thanks.
Matteo On Tue, Oct 20, 2009 at 18:34, Aaron J. Seigo <ase...@kde.org> wrote: > On October 20, 2009, Matteo Agostinelli wrote: >> On Monday 19 October 2009 21:23:13 Aaron J. Seigo wrote: >> > hi Matteo .. >> > >> > please keep plasma issues on this list; cross-posting to kde-devel will >> > just make it more confusing to follow the resulting thread(s) :) >> > >> > On October 19, 2009, Matteo Agostinelli wrote: >> > > So my question is if there already is a signal that is emitted when >> > > either of the previously stated action is triggered. Or should I >> > > override some protected method (in that case, please give me a hint). >> > > A possible candidate seems this signal: void newStatus >> > > (Plasma::ItemStatus status) >> > > but this has been introduced in 4.4 and I would like to make this work >> > > also in 4.3 if possible. Any suggestions? >> > >> > focusInEvent? >> >> Yep, this partially solved the problem. Partially because if the plasmoid >> is activated by the keyboard shortcut it seems that this function is not >> called. I had to add a connect to the "activate()" signal of the plasmoid >> to solve this problem. Now everything is working fine. > > did you implement focusInEvent on your applet, or on the graphicsWidget()? in > a popup applet, all the "fun" actually happens in the graphicsWidget(), not > the Applet itself. > > -- > 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 Qt Development Frameworks > _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel