On June 29, 2010, Thomas Fjellstrom wrote:
> I'm working on a plasmoid which uses a dataengine, and I can't for the life
> of me figure out how to actually access the data from the return value of:
> 
> dataEngine("foo").query("bar")

this was working, then at some point stopped working and i never figured out 
why. the wrapping of the DataEngine::Data hash is not happening properly, but 
only when called from query(). it needs to be investigated further.

however, you probably don't want to be using query() in the first place since 
it does not work with any asynchronous source ... which includes remote 
widgets.

try connecting to the source with a callback instead.

-- 
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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Plasma-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to