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.
Thanks, Matteo _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel