Access D-BUS through QML/JS

Aaron J. Seigo aseigo at kde.org
Thu Jan 12 10:33:57 UTC 2012


On Thursday, January 12, 2012 01:50:19 Shaun Reich 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?

this absolutely should be done via a service in a DataEngine, and i'd 
recommend adding it to PowerManagementService in the powermanagement engine in 
kde-workspace/plasma/generic/dataengines/powermanagement/

-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20120112/b3bfcad5/attachment.sig>


More information about the Plasma-devel mailing list