Plasma/libplasma2/modellikedataengines: Difference between revisions

From KDE Community Wiki
Line 3: Line 3:
==Proposed Solution ==
==Proposed Solution ==
In Plasma2 dataengine has a setModel method, that can associate a QAbstractItemModel instance to a Source.
In Plasma2 dataengine has a setModel method, that can associate a QAbstractItemModel instance to a Source.
Affected dataengines should be ported as well as plamoids that are using them.


==Dataengines to port==
==Dataengines to port==

Revision as of 16:46, 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. Affected dataengines should be ported as well as plamoids that are using them.

Dataengines to port

Status Engine Comments Developer
DONE places <[email protected]>
TODO tasks use tasks model from libtaskmanager <[email protected]>
TODO activities either just use the import or the same model <[email protected]>
TODO applicationjobs <[email protected]>
TODO apps <[email protected]>
TODO filebrowser <[email protected]>
TODO notifications <[email protected]>
TODO rss Needs porting to KF5 first <[email protected]>
TODO statusnotifieritem <[email protected]>
TODO microblog <[email protected]>