On Mon, 2012-03-05 at 23:44 +0100, Ove Kåven wrote: > Den 05. mars 2012 15:32, skrev Patrick Ohly: > > Technically it is different. So let's clarify: > > * You want (or rather, have) to have one address book on the N9. > > * On Google you have multiple different accounts, with one default > > address book in each account. > > * A sync between a Google account and the local address book shall > > not update or delete any contact that did not come from that > > Google account. > > > > Possible implementation: > > * Set the QContactSyncTarget > > (http://doc.qt.nokia.com/qtmobility/qcontactsynctarget.html) on > > each QContact after receiving it from Google. > > * Filter local contacts by QContactSyncTarget. > > I don't think you should coopt the SyncTarget for this purpose. As I > remember, it seems that Nokia is using it to identify which subsystem > provides the contact information, i.e. "addressbook" for the device's > persistent storage, "telepathy" for online contacts found with Telepathy > plugins, and so on. You'd use the synctarget to see if this is a Skype > contact, a Facebook friend, a phone number in your SIM card, or > whatever. And thus, in SyncEvolution for Harmattan, I use it to make > sure *only* contacts in the persistent device addressbook are synced, > and not your complete list of Facebook friends.
But what prevents adding more SyncTarget values? You could have a "Google <account>" sync target, to mark the contacts that were created that way, and still store them in QtContacts-Tracker. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel on this matter. _______________________________________________ SyncEvolution mailing list [email protected] http://lists.syncevolution.org/listinfo/syncevolution
