Ruby applet dataEngine service operation call

Cédric kde at xfou.com
Sun Aug 16 14:28:23 CEST 2009


Hello,

I would like to create a ruby plasma applet which will use the tasks data
engine.
I have a problem to call operations on service.

In plasmaengineexplorer i can close a window but i don't manage it in ruby

service=dataEngine("tasks").serviceForSource(dataEngine("tasks").sources.first)

service.startOperationCall(service.operationDescription("close"))


This does not do anything.


pp service.operationNames gives an empty array


I attached the plasmoid source code. This action is triggered when clicking
on the plasmoid and then clicking on a window name in the list.

Thanks for your help
Cédric H
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20090816/1ab6adf5/attachment.htm 


More information about the Plasma-devel mailing list