PersonsModel: Fix PersonVCardRole

Authored by jbbgameich on Mar 17 2020, 10:23 PM.

Description

PersonsModel: Fix PersonVCardRole

Reviewers: apol, nicolasfella

Reviewed By: nicolasfella

Subscribers: nicolasfella, kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D28110

Details

I'm sorry, this broke existing code (even in KPeople). Despite the confusing name, PersonVCardRole actually was supposed to return an AbstractContact::Ptr. Should I revert this or is there a better solution?

@apol @nicolasfella

Let's revert it

This could be an api where TODO KF6 would make sense. We should find a better fitting name for this functionality, like AbstractContactProperty.