[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-pim
Subject: Re: [Kde-pim] Contacts, Groups, Akonadi and Nepomuk
From: Dan Vratil <dan () progdan ! cz>
Date: 2012-02-12 22:28:21
Message-ID: 3888976.r8oY8bvD8E () odin
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Saturday 11 of February 2012 16:41:33 Kevin Krammer wrote:
> On Saturday, 2012-02-11, Dan Vratil wrote:
> > Hello,
> >
> > I 'd like to bring full support for contact groups to the Google Contacts
> > resource. The problem is, that a single contact on Google can be listed in
> > multiple groups, but Akonadi does not seem to support storing single
> > instance of Akonadi::Item in multiple collections without duplication.
>
> See Akonadi::LinkJob and/or KABC::ContactGroup
Thanks, the Linkjob is exactly what I needed. I've run to some trouble using
it though.
I have the root collection properly synchronized (that works as expected) and
then I have a subcollection. When retrieveItems() is called for this
subcollection, I fetch all items from the main collection, check their groups
membership and then I call LinkJob to link some of the items from main
collection with the subcollection. This works for the first time - I can see
the linked items in the subcollection (and they are properly linked in Akonadi
database), but when I restart KAddressBook, the linked items will not appear
in the subcollection, no matter what I do.
Any idea what I could be missing?
Thanks,
Dan
>
> Cheers,
> Kevin
>
> --
> Kevin Krammer, KDE developer, xdg-utils developer
> KDE user support, developer mentoring
--
Dan Vratil
www.progdan.cz | dan@progdan.cz | Jabber: progdan@jabber.cz
Fingerprint: 76C9 2F08 5D0D 6F9E 5AD4 2BFD 3A85 0307 F506 5B61
["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