Plasma/libplasma2/modellikedataengines: Difference between revisions
< Plasma | libplasma2
(Created page with "==Discussion== Many dataengines return data as series of items: like rss, microblog and tasks, and they do in different ways, rss has a list of Data in a single key, microblog...") |
No edit summary |
||
Line 2: | Line 2: | ||
Many dataengines return data as series of items: like rss, microblog and tasks, and they do in different ways, rss has a list of Data in a single key, microblog has an item per key, tasks has an item per source. | Many dataengines return data as series of items: like rss, microblog and tasks, and they do in different ways, rss has a list of Data in a single key, microblog has an item per key, tasks has an item per source. | ||
==Proposed Solution == | ==Proposed Solution == | ||
In Plasma2 dataengine has a setModel method, that can associate a QAbstractItemModel instance to a Source. | |||
==Dataengines to port== |
Revision as of 16:32, 2 January 2014
Discussion
Many dataengines return data as series of items: like rss, microblog and tasks, and they do in different ways, rss has a list of Data in a single key, microblog has an item per key, tasks has an item per source.
Proposed Solution
In Plasma2 dataengine has a setModel method, that can associate a QAbstractItemModel instance to a Source.