[Kde-pim] Fetching collection attributes in a resource
Volker Krause
vkrause at kde.org
Tue Nov 8 07:37:41 GMT 2011
On Monday 07 November 2011 08:42:58 Kevin Krammer wrote:
> On Sunday, 2011-11-06, David Jarvie wrote:
> > How should a resource fetch its collection's attribute values - using
> > CollectionFetchJob?
>
> Yes, see for example MBoxResource::itemRemoved()
>
> > If so, are attributes fetched using the default fetch
> > scope?
>
> Yes, I think they are.
yes, you always get the full collection data from a CollectionFetchJob (unlike
with items it's assumed to be small enough), CollectionFetchScope is mainly to
control how many collections are retrieved when asking for more than one as
well as some expensive to calculate data like statistics.
@David: Sorry, didn't have time to look into your attribute modification issue
yet :-(
regards
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20111108/ed35f258/attachment.sig>
-------------- next part --------------
_______________________________________________
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