problems with executable dataengine (and others) in Javascript

Aaron J. Seigo aseigo at kde.org
Mon Aug 31 17:30:49 CEST 2009


On August 31, 2009, Daniel Duris wrote:
> in my app. addSource() doesn't work (error is shown - can't start
> script), setData - no syntax is known for JS....

connectSource, not add source :) so:

dataengine("exec").connectSource("/bin/ls", plasmoid)

-- 
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 Developent Framework
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090831/29c95315/attachment.sig 


More information about the Plasma-devel mailing list