[Kde-pim] Re: root collection of a resource?

Kevin Krammer kevin.krammer at gmx.at
Tue Mar 1 12:37:47 GMT 2011


On Tuesday, 2011-03-01, Christian Mollekopf wrote:
> Is there some easy way to find the root collection of a resource?
> 
> In the trashhandling I need it as a fallback if the restore collection
> (former parent collection, before item was moved to trash) does not exist
> anymore.

CollectionFetchJob on the root collection, FirstLevel, with 
setResource(identifier) on the job.

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- 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/20110301/c9893cf0/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