Allow to specify the content types of Akonadi::DataSourceQueries
ClosedPublic

Authored by ervin on Nov 4 2015, 9:17 PM.

Details

Summary

With this commit, an Akonadi::DataSourceQueries can be specialized for a
given family of collections. At construction time we can decide for it
to list and search only for task sources, or note sources or both.

Also adjust the dependencies of both Renku and Zanshin so that one lists
only note related sources and the other one only task related sources.

This effectively complete the Zanshin/Renku split: one is pure tasks,
the other pure notes.

Diff Detail

Repository
R4 Zanshin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ervin updated this revision to Diff 1174.Nov 4 2015, 9:17 PM
ervin retitled this revision from to Allow to specify the content types of Akonadi::DataSourceQueries.
ervin updated this object.
ervin edited the test plan for this revision. (Show Details)
ervin added reviewers: bensi, franckarrecot.
bensi requested changes to this revision.Nov 4 2015, 9:27 PM
bensi edited edge metadata.
bensi added inline comments.
src/akonadi/akonadidatasourcequeries.cpp
29–30

it should be align with others arguments, no ?

This revision now requires changes to proceed.Nov 4 2015, 9:27 PM
ervin updated this revision to Diff 1175.Nov 4 2015, 9:31 PM
ervin edited edge metadata.

Fix style issue

ervin marked an inline comment as done.Nov 4 2015, 9:32 PM
bensi accepted this revision.Nov 4 2015, 9:34 PM
bensi edited edge metadata.
This revision is now accepted and ready to land.Nov 4 2015, 9:34 PM
This revision was automatically updated to reflect the committed changes.