kcontacts is a Qt library which provides an API to access address book data stored in different formats.