Re: QML/Data Engine Part 2

2012-01-24 Thread Sebastian Kügler
On Tuesday, January 24, 2012 08:43:49 Eric Mesa wrote: Here's an interesting little tidbit that might make this all finally work correctly. If I add this in: def sources(self): sources = [1500] return sources to my engine - then whenever it's connected to, it grabs the data

Re: QML/Data Engine Part 2

2012-01-24 Thread Sebastian Kügler
On Tuesday, January 24, 2012 09:46:21 Sebastian Kügler wrote: On Tuesday, January 24, 2012 08:43:49 Eric Mesa wrote: Here's an interesting little tidbit that might make this all finally work correctly. If I add this in: def sources(self): sources = [1500] return

Re: QML/Data Engine Part 2

2012-01-24 Thread Eric Mesa
Sorry it was late and I was a little out of it. Basically, in my data Engine - which is written in Python, if I add in that block, then when my plasmoid runs it will cause the data Engine to get that data. When I'm back home I'll have to match up this email and your previous email with my code

Re: Re: QML/Data Engine Part 2

2012-01-24 Thread Sebastian Kügler
Hey, Sorry it was late and I was a little out of it. Basically, in my data Engine - which is written in Python, if I add in that block, then when my plasmoid runs it will cause the data Engine to get that data. When I'm back home I'll have to match up this email and your previous email

Re: QML/Data Engine Part 2

2012-01-24 Thread Eric Mesa
On Tuesday, January 24, 2012 17:23:03 Sebastian Kügler wrote: Hey, That should work asynchronously, you just do setData() when you receive it, and you start the download of a source by connecting to it (so basically in sourceRequestEvent, or its Python equivalent in your dataengine). You

Re: QML/Data Engine Part 2

2012-01-24 Thread Eric Mesa
As to the second half of my previous post - turns out it was a quirk of the XmlListModel. I was using source: changed that to xml: and it worked! - br Eric Mesa br http://www.ericsbinaryworld.com br Most of the emails from this account should be signed with my GPG key so that you