QML DataSource

Viranch Mehta viranch.mehta at gmail.com
Thu Oct 6 00:03:47 UTC 2011


Hi all,

I am facing a very annoying problem in QML plasmoids with the dataengines.
The following does not seem to work ever for almost all dataengines:

PlasmaCore.DataSource {
    id: dataSource
    engine: "someEngine"
    onSourceAdded: print (data[source]["some_valid_key"];
}

The print statement always throws data[source] is [undefined]. This happens
with
most engines, esp with those engines where sources are added/removed
dynamically
by the engine. This has been very annoying, any help will be awesome!

Thanks,
Viranch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20111006/7e370707/attachment.html>


More information about the Plasma-devel mailing list