Connection to DataEngine using QML

Saurabh Sood saurabhsood91 at gmail.com
Thu Jul 7 16:49:37 CEST 2011


Hi,

I am making plasma widgets to connect to a dataengine, which requests data
from a remote API. I use widgets to construct a URL, which I pass as a
source to the dataengine. When I use plasmaengineexplorer, I am able to
create the source, and view the desired data. I tried connecting the
dataengine with my QML plasmoid. The problem is that the onSourceConnected
and onDataChanged functions are never called in the plasmoid. Thus, I am not
able to use the required data.

The link to the QML code is:
http://pastebin.com/ku0tbU64

Regards,.
Saurabh Sood
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20110707/45c4ca79/attachment.htm 


More information about the Plasma-devel mailing list