[Kde-pim] Review Request 114140: Allow PreprocessorBase subclasses to specify fetch scope for each item

Dan Vrátil dvratil at redhat.com
Tue Nov 26 13:46:23 GMT 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/114140/
-----------------------------------------------------------

Review request for KDEPIM-Libraries.


Repository: kdepimlibs


Description
-------

Without this, the MailFilter agent would have to fetch full scope every time, which is not the desired behavior (headers are enough usually).

To be able to do this, I've added this method, that is called every time before the ItemFetchJob in PreprocessorBase is invoked and allows subclasses to set a fetch scope depending on the parent collection.


Diffs
-----

  akonadi/preprocessorbase.h 94b967e 
  akonadi/preprocessorbase.cpp 3f68cbb 
  akonadi/preprocessorbase_p.cpp 3ebeb69 

Diff: http://git.reviewboard.kde.org/r/114140/diff/


Testing
-------


Thanks,

Dan Vrátil

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list