Plasma/libplasma2/modellikedataengines: Difference between revisions

From KDE Community Wiki
No edit summary
 
(9 intermediate revisions by 2 users not shown)
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==
{| cellspacing="0" cellpadding="5" border="1" style="border: 1px solid gray; border-collapse: collapse; text-align: left; width: 100%;" class="sortable"
|- style="background: rgb(236, 236, 236) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; white-space: nowrap;"
! Status
! Engine
! Comments
! Developer
{{FeatureProjectDone|places||[email protected]}}
{{FeatureProjectDone|tasks|use tasks model from libtaskmanager|[email protected]}}
{{FeatureProjectTodo|activities|either just use the import or the same model|[email protected]}}
{{FeatureProjectTodo|applicationjobs||[email protected]}}
{{FeatureProjectTodo|apps|Needs fixing crash|[email protected]}}
{{FeatureProjectTodo|filebrowser||[email protected]}}
{{FeatureProjectTodo|notifications||[email protected]}}
{{FeatureProjectTodo|rss|Needs porting to KF5 first|[email protected]}}
{{FeatureProjectTodo|statusnotifieritem||[email protected]}}
{{FeatureProjectTodo|microblog|Needs porting to KF5 first, at least connecting to twitter should get unbroken|[email protected]}}
|}

Latest revision as of 15:46, 7 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]>
DONE 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 Needs fixing crash <[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 Needs porting to KF5 first, at least connecting to twitter should get unbroken <[email protected]>