Re: Still cannot access QMap in QML

2011-06-09 Thread Viranch Mehta
Here's the plasmoidviewer's output: http://paste.kde.org/80143/ (the pmSource in the output=dataEngine) Though it says dataEngine.data["AC Adapter"], dataEngine.data["Battery0"], dataEngine.data["PowerDevil"] are [undefined], I'm able to access the data associated with

Re: Still cannot access QMap in QML

2011-06-09 Thread Viranch Mehta
On Thu, Jun 9, 2011 at 3:40 PM, Aaron J. Seigo wrote: > On Wednesday, June 8, 2011 23:20:02 Viranch Mehta wrote: > > print(dataEngine.data["PowerDevil"]["Available profiles"]); > > wait .. what is "dataEngine"? is it the actual dataEngine? or? it's > entirely > impossible to tell what this code i

Re: Still cannot access QMap in QML

2011-06-09 Thread Aaron J. Seigo
On Wednesday, June 8, 2011 23:20:02 Viranch Mehta wrote: > print(dataEngine.data["PowerDevil"]["Available profiles"]); wait .. what is "dataEngine"? is it the actual dataEngine? or? it's entirely impossible to tell what this code is actually doing without a bit more context. if dataEngine is r

Re: Still cannot access QMap in QML

2011-06-09 Thread Viranch Mehta
On Thu, Jun 9, 2011 at 2:58 PM, Aaron J. Seigo wrote: > On Wednesday, June 8, 2011 23:20:02 Viranch Mehta wrote: > > I am still unable to access QMap returned by dataengine > in > > and you are using kde-runtime from master? > > Yes, I pulled and compiled it after you fixed this. Viranch ___

Re: Still cannot access QMap in QML

2011-06-09 Thread Aaron J. Seigo
On Wednesday, June 8, 2011 23:20:02 Viranch Mehta wrote: > I am still unable to access QMap returned by dataengine in and you are using kde-runtime from master? -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponso