Use KPeople abstraction layer to manage contacts, instead of KF5IdentityManagement, KF5Akonadi and KF5Contacts directly
Right now we directly use KF5IdentityManagement
, KF5Akonadi
and KF5Contacts
in mymoneycontact.cpp. This limts the Contacts functionality to Akonadi as a backend only.
Instead, we should consider switching to KPeople
as an abstraction layer, which has an API that can support other backends, including Akonadi (https://invent.kde.org/nicolasfella/kpeopleakonadi) and Sink (https://invent.kde.org/pim/kpeoplesink), as well as allows to add additional backends (macOS, Windows) in the future.
Also, see this discussion for some extra context: https://t.me/kdedevel/59995
Edited by Dawid Wrobel