Commit ec26dc79 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Adapt to new plugin api

parent 4e93ad50
Pipeline #188057 passed with stage
in 1 minute and 17 seconds
......@@ -45,7 +45,7 @@ set(KDEPIM_VERSION "${PIM_VERSION}${KDEPIM_DEV_VERSION} (${RELEASE_SERVICE_VERSI
set(KPIMTEXTEDIT_LIB_VERSION "5.20.40")
set(AKONADI_VERSION "5.20.40")
set(KONTACTINTERFACE_LIB_VERSION "5.20.40")
set(KONTACTINTERFACE_LIB_VERSION "5.20.41")
set(KDEPIM_LIB_VERSION "${PIM_VERSION}")
set(KDEPIM_LIB_SOVERSION "5")
......@@ -98,7 +98,7 @@ find_package(KF5Prison ${KF5_MIN_VERSION} CONFIG REQUIRED)
add_definitions(-DTRANSLATION_DOMAIN=\"kaddressbook\")
ecm_set_disabled_deprecation_versions(QT 5.15.2
KF 5.95.0
KCOREADDONS 5.88.0 #KPluginFactory::registerPlugin
KCOREADDONS 5.88.0 #KPluginFactory::registerPlugin Remove it when we depend againt kf5.95
)
......
......@@ -25,8 +25,8 @@
EXPORT_KONTACT_PLUGIN_WITH_JSON(KAddressBookPlugin, "kaddressbookplugin.json")
KAddressBookPlugin::KAddressBookPlugin(KontactInterface::Core *core, const QVariantList &)
: KontactInterface::Plugin(core, core, "kaddressbook")
KAddressBookPlugin::KAddressBookPlugin(KontactInterface::Core *core, const KPluginMetaData &data, const QVariantList &)
: KontactInterface::Plugin(core, core, data, "kaddressbook")
{
setComponentName(QStringLiteral("kaddressbook"), i18n("KAddressBook"));
......
......@@ -33,7 +33,7 @@ class KAddressBookPlugin : public KontactInterface::Plugin
Q_OBJECT
public:
explicit KAddressBookPlugin(KontactInterface::Core *core, const QVariantList &);
explicit KAddressBookPlugin(KontactInterface::Core *core, const KPluginMetaData &data, const QVariantList &);
~KAddressBookPlugin() override;
bool isRunningStandalone() const override;
......
Supports Markdown
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