Commit 9a92e959 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Adapt to new api

parent 8c28846e
Pipeline #23528 failed with stage
in 60 minutes and 49 seconds
......@@ -64,7 +64,7 @@ find_package(KF5Parts ${KF5_MIN_VERSION} CONFIG REQUIRED)
find_package(KF5Prison ${KF5_MIN_VERSION} CONFIG REQUIRED)
find_package(KF5Holidays ${KF5_MIN_VERSION} CONFIG REQUIRED)
set(MAILCOMMON_LIB_VERSION "5.14.40")
set(MAILCOMMON_LIB_VERSION "5.14.44")
set(GRAVATAR_LIB_VERSION "5.14.41")
set(PIMCOMMON_LIB_VERSION "5.14.43")
set(GRANTLEETHEME_LIB_VERSION "5.14.40")
......@@ -76,14 +76,14 @@ set(LIBKLEO_LIB_VERSION "5.14.40")
set(AKONADI_LIB_VERSION "5.14.40")
set(INCIDENCEEDITOR_LIB_VERSION "5.14.40")
set(KTNEF_LIB_VERSION "5.14.40")
set(MESSAGELIB_LIB_VERSION "5.14.40")
set(MESSAGELIB_LIB_VERSION "5.14.47")
set(AKONADICALENDAR_LIB_VERSION "5.14.40")
set(CALENDAR_UTILS_VERSION "5.14.40")
set(KPIMTEXTEDIT_LIB_VERSION "5.14.45")
set(KIMAP_LIB_VERSION "5.14.40")
set(LIBKSIEVE_LIB_VERSION "5.14.40")
set(KMAILTRANSPORT_LIB_VERSION "5.14.40")
set(AKONADICONTACT_LIB_VERSION "5.14.40")
set(AKONADICONTACT_LIB_VERSION "5.14.41")
set(IMPORTWIZARD_LIB_VERSION "5.14.40")
set(MAILIMPORTER_LIB_VERSION "5.14.40")
set(KPIMPKPASS_LIB_VERSION "5.14.41")
......
......@@ -48,7 +48,7 @@
#include <MimeTreeParser/NodeHelper>
using MimeTreeParser::Interface::BodyPart;
#include <LibkdepimAkonadi/AddContactJob>
#include <Akonadi/Contact/AddContactJob>
#include <Akonadi/Contact/ContactViewer>
#include <Akonadi/Contact/StandardContactFormatter>
......@@ -208,7 +208,7 @@ public:
}
if (path.startsWith(QLatin1String("addToAddressBook"))) {
KPIM::AddContactJob *job = new KPIM::AddContactJob(a, nullptr);
Akonadi::AddContactJob *job = new Akonadi::AddContactJob(a, nullptr);
job->start();
} else if (path.startsWith(QLatin1String("updateToAddressBook"))) {
UpdateContactJob *job = new UpdateContactJob(a.emails().constFirst(), a, nullptr);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment