Plasma/libplasma2/modellikedataengines: Difference between revisions

From KDE Community Wiki
 
(8 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==
Line 14: Line 15:


{{FeatureProjectDone|places||[email protected]}}
{{FeatureProjectDone|places||[email protected]}}
{{FeatureProjectTodo|tasks||nobody@kde.org}}
{{FeatureProjectDone|tasks|use tasks model from libtaskmanager|bhush94@gmail.com}}
{{FeatureProjectTodo|activities||nobody@kde.org}}
{{FeatureProjectTodo|activities|either just use the import or the same model|bhush94@gmail.com}}
{{FeatureProjectTodo|applicationjobs||[email protected]}}
{{FeatureProjectTodo|applicationjobs||[email protected]}}
{{FeatureProjectTodo|apps||[email protected]}}
{{FeatureProjectTodo|apps|Needs fixing crash|[email protected]}}
{{FeatureProjectTodo|filebrowser||[email protected]}}
{{FeatureProjectTodo|filebrowser||[email protected]}}
{{FeatureProjectTodo|notifications||[email protected]}}
{{FeatureProjectTodo|notifications||[email protected]}}
{{FeatureProjectTodo|rss||[email protected]}}
{{FeatureProjectTodo|rss|Needs porting to KF5 first|[email protected]}}
{{FeatureProjectTodo|statusnotifieritem||[email protected]}}
{{FeatureProjectTodo|statusnotifieritem||[email protected]}}
{{FeatureProjectTodo|microblog||[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]>