Re: More DataEngines questions

2009-01-04 Thread Chani
Let's make an example to make things clearer. A user may want to search for the term foo, and another for the term bar, and of course, they would get different results. How can I make the DataEngine aware that the query parameter should be foo in one case, and bar in the other? perhaps

Re: More DataEngines questions

2009-01-04 Thread Luca Beltrame
On domenica 4 gennaio 2009 10:20:32 Chani wrote: perhaps what you want is a Service, not a Source. my memory of such I'll turn the question to everyone in the list: is Service exposed through the Python API? I can't check myself at the moment because with the new snapshots from trunk I'm

Re: More DataEngines questions

2009-01-04 Thread Aaron J. Seigo
On Sunday 04 January 2009, Luca Beltrame wrote: On domenica 4 gennaio 2009 10:20:32 Chani wrote: perhaps what you want is a Service, not a Source. my memory of such I'll turn the question to everyone in the list: is Service exposed through the Python API? it should be; however, there is no

Re: More DataEngines questions

2009-01-04 Thread Alex Merry
On Sunday 04 January 2009 11:29:11 Luca Beltrame wrote: On domenica 4 gennaio 2009 12:03:21 Aaron J. Seigo wrote: - User puts in the term foo as in search term; - The term foo is used as source in the DataEngine, which then fetches the information; - Said information is then presented to the

Re: More DataEngines questions

2009-01-04 Thread Aaron J. Seigo
On Sunday 04 January 2009, Alex Merry wrote: On Sunday 04 January 2009 11:29:11 Luca Beltrame wrote: On domenica 4 gennaio 2009 12:03:21 Aaron J. Seigo wrote: - User puts in the term foo as in search term; - The term foo is used as source in the DataEngine, which then fetches the

Re: More DataEngines questions

2009-01-04 Thread David Baron
While this is being discussed at length . . . Are there stock data-engines that come with the distributions, things for KDEPIM or even MySQL or pogreSQL? Or need on always roll one's own? ___ Plasma-devel mailing list Plasma-devel@kde.org

Re: More DataEngines questions

2009-01-04 Thread Aaron J. Seigo
On Sunday 04 January 2009, David Baron wrote: Are there stock data-engines that come with the distributions, things for KDEPIM or even MySQL or pogreSQL? Or need on always roll one's own? there are several that come with kdebase/workspace, and a couple more in kdeplasma-addons. we're always

Re: More DataEngines questions

2009-01-04 Thread Aaron J. Seigo
On Sunday 04 January 2009, Alex Merry wrote: Generally useful engines will probably be included in kdebase, or maybe kdeplasma-addons. For example, I could see that an email monitoring engine and an address book engine (based on Akonadi) would probably merit yes; there's already one in

Re: More DataEngines questions

2009-01-04 Thread Luca Beltrame
On domenica 4 gennaio 2009 18:46:05 Aaron J. Seigo wrote: ... automatically, of course. the DataEngine author need write no code for this. if you wish to do further cacheing, you can work around this feature, but it's generally not the common case. Actually, it's good like this. And I can

More DataEngines questions

2008-12-30 Thread Luca Beltrame
Hello, I've been hacking a bit and, using the pytime DataEngine as an example, successfully built a dummy Python DataEngine that fetches records from NCBI on a hard-coded query and sets data correctly. I admit it was surprisingly easy to set up. Although my knowledge of C++ is zero, I have