[Development] QtContacts - New class QContactCollection

Milian Wolff mail at milianw.de
Tue Jan 20 02:29:21 CET 2015


On Monday 19 January 2015 17:27:40 Renato Araujo wrote:
> Hey guys,
> 
> I started to implement the class QContactCollection based on
> QOrganizeCollection[1]. Until now I just copy the code from QOrganizer
> module and renamed some classes.
> 
> The idea of QContactCollection is to represent an "address-book". And with
> this we can create/remove/modify collection and query contacts based on the
> collection id.
> 
> This looks great, but I have one concern about that. How to represent
> contacts that are present in more than one "Address book" (merged
> contacts)? In this case the contact can have more than one collection.
> 
> Do you have any idea how to solve that?
> 
> Should we use a different approach?
> 
> What about use QContactCollectionId as a derived class from QContactDetails?

Is QtPim still alive? Anyhow, sounds like you are reinventing KPeople from 
KDE. Maybe you could reuse that instead, and polish it to fit your needs?

Bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de



More information about the Development mailing list