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

Dan Vrátil dvratil at redhat.com
Mon Dec 9 15:14:03 GMT 2013



> On Dec. 9, 2013, 3:53 p.m., Kevin Krammer wrote:
> > akonadi/preprocessorbase.h, line 175
> > <http://git.reviewboard.kde.org/r/114140/diff/2/?file=223527#file223527line175>
> >
> >     is this called by something else than the Private? I.e. why public and not protected?

Good point :-)


- Dan


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


On Dec. 9, 2013, 3:43 p.m., Dan Vrátil wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/114140/
> -----------------------------------------------------------
> 
> (Updated Dec. 9, 2013, 3:43 p.m.)
> 
> 
> 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