Calling dataengine service operation from QML plasmoid

2011-06-02 Thread Viranch Mehta
Hi there, I want to call a the service operation setBrightness available in powermanagement dataengine from my qml plasmoid. The service associated with all the sources. How can I go about doing that? dataSource.data["PowerDevil"]["setBrightness"][70] ? Cheers, Viranch ___

can't access methods of data engine output for digital-clock declarative example

2011-06-02 Thread todd rme
Hi, I am working with the digital clock qml example in kdeexamples/plasma/declarative/digital-clock One thing I am trying to do is extract and output the seconds from the dataengine. The original example has this at line 54: Text { text: 'Time Is ' + dataSource.data['Local']['Time']; } Thi