Displaying Data from Dataengine
Saurabh Sood
saurabhsood91 at gmail.com
Wed Jul 13 21:45:48 CEST 2011
Hi,
I am making a plasmoid which retrieves data from a dataengine. The key-value
pairs (and the number) are not fixed, and depends on the source requested. I
am facing problems in displaying them. I initially tried keysForSource, and
a Repeater, but that did not work. Then, I tried to use a DataModel. I was
taking the help of the digital-clock example in kdeexamples, but i think
that a similar problem exists in the clock plasmoid, as it does not display
all the available data.
I have pasted the code using repeater and keysForSource:
http://pastebin.com/Mtbs7L0A
Another query is that I am making use of KConfig to store the details from
the user. I created a UI file, and a config file. I used proper naming
convention for the UI file. When I run the plamoid in plasmoidviewer, the
plasmoid reads the configuration details. After installing the plasmoid, I
saved the relevant details, but the plasmoid was not able to read the data.
Have I missed something in this regard?
Regards,
Saurabh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20110714/69b93bb4/attachment.htm
More information about the Plasma-devel
mailing list