Access D-BUS through QML/JS

Viranch Mehta viranch.mehta at gmail.com
Thu Jan 12 07:01:47 UTC 2012


On Thu, Jan 12, 2012 at 12:20 PM, Shaun Reich <shaun.reich at kdemail.net>wrote:

> was wondering if and how I could call a remote method
> (org.freedesktop.screensaver) through a pure QML/JS applet. Do I need
> to use a dataengine? Should I make that dataengine C++ or JS?
>
>
one obvious approach would be to implement a service that would make the
dbus calls in a c++ dataengine; and call the service from the qml/js applet.

Viranch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20120112/6cb2a046/attachment.html>


More information about the Plasma-devel mailing list