[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-pim
Subject: Re: [Kde-pim] How to resolve Item/Collection from ID?
From: Kevin Krammer <krammer () kde ! org>
Date: 2013-04-24 16:55:19
Message-ID: 201304241855.25715.krammer () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Wednesday, 2013-04-24, Jonathan Marten wrote:
> Kevin Krammer <krammer@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
["signature.asc" (application/pgp-signature)]
_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic