[Kde-pim] How to resolve Item/Collection from ID?
Kevin Krammer
krammer at kde.org
Wed Apr 24 17:55:19 BST 2013
On Wednesday, 2013-04-24, Jonathan Marten wrote:
> Kevin Krammer <krammer at kde.org> writes:
> > If you only have an id it could be both. If you know it is an item a
> > simple Item item(id);
> > (same for collection) followed by the respective fetch job.
>
> Thanks Kevin (and Christian for the same advice). I'd been wondering
> if there was a way to do this without potentially having to run two
> fetch jobs, but obviously not.
Just to be clear: if you don't know what kind of entity you are addressing,
then you could end up with an item and a collection.
> > [1] git://anongit.kde.org/scratch/krake/akonadiclient
>
> Hmmm, looks like you started on the same idea last year (although your
> command name has 3 more letters than mine :-) Do you mind if I take
> that framework and extend it?
Not at all :)
I requested that the repository be moved to playground, as I think only I can
push into my scratch repository.
I'll let you know when it has been moved.
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/20130424/678e174c/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