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

Adapt api

parent 7f65a330
Pipeline #50192 passed with stage
in 54 minutes and 37 seconds
......@@ -68,7 +68,7 @@ find_package(KF5GuiAddons ${KF5_MIN_VERSION} CONFIG REQUIRED)
set(MAILCOMMON_LIB_VERSION "5.16.40")
set(GRAVATAR_LIB_VERSION "5.16.40")
set(PIMCOMMON_LIB_VERSION "5.16.40")
set(PIMCOMMON_LIB_VERSION "5.16.41")
set(GRANTLEETHEME_LIB_VERSION "5.16.40")
set(CALENDARSUPPORT_LIB_VERSION "5.16.40")
set(EVENTVIEW_LIB_VERSION "5.16.40")
......
......@@ -52,7 +52,7 @@ void CheckGravatarPluginInterface::setCurrentItems(const Akonadi::Item::List &it
mListItems = items;
}
PimCommon::GenericPluginInterface::RequireTypes CheckGravatarPluginInterface::requires() const
PimCommon::GenericPluginInterface::RequireTypes CheckGravatarPluginInterface::requiresFeatures() const
{
return PimCommon::GenericPluginInterface::CurrentItems;
}
......
......@@ -18,7 +18,7 @@ public:
void exec() override;
void createAction(KActionCollection *ac) override;
void setCurrentItems(const Akonadi::Item::List &items) override;
Q_REQUIRED_RESULT PimCommon::GenericPluginInterface::RequireTypes requires() const override;
Q_REQUIRED_RESULT PimCommon::GenericPluginInterface::RequireTypes requiresFeatures() const override;
void updateActions(int numberOfSelectedItems, int numberOfSelectedCollections) override;
private:
......
......@@ -48,7 +48,7 @@ void MergeContactsPluginInterface::setCurrentItems(const Akonadi::Item::List &it
mListItems = onlyContactList;
}
PimCommon::GenericPluginInterface::RequireTypes MergeContactsPluginInterface::requires() const
PimCommon::GenericPluginInterface::RequireTypes MergeContactsPluginInterface::requiresFeatures() const
{
return PimCommon::GenericPluginInterface::CurrentItems;
}
......
......@@ -18,7 +18,7 @@ public:
void exec() override;
void createAction(KActionCollection *ac) override;
void setCurrentItems(const Akonadi::Item::List &items) override;
Q_REQUIRED_RESULT PimCommon::GenericPluginInterface::RequireTypes requires() const override;
Q_REQUIRED_RESULT PimCommon::GenericPluginInterface::RequireTypes requiresFeatures() const override;
private:
void slotActivated();
......
......@@ -57,7 +57,7 @@ void SearchDuplicatesPluginInterface::setItems(const Akonadi::Item::List &items)
mListItems = onlyContactList;
}
PimCommon::GenericPluginInterface::RequireTypes SearchDuplicatesPluginInterface::requires() const
PimCommon::GenericPluginInterface::RequireTypes SearchDuplicatesPluginInterface::requiresFeatures() const
{
return PimCommon::GenericPluginInterface::Items;
}
......@@ -17,7 +17,7 @@ public:
void exec() override;
void createAction(KActionCollection *ac) override;
Q_REQUIRED_RESULT PimCommon::GenericPluginInterface::RequireTypes requires() const override;
Q_REQUIRED_RESULT PimCommon::GenericPluginInterface::RequireTypes requiresFeatures() const override;
void setItems(const Akonadi::Item::List &items) override;
private:
......
......@@ -43,7 +43,7 @@ void SendMailPluginInterface::setCurrentItems(const Akonadi::Item::List &items)
mListItems = items;
}
PimCommon::GenericPluginInterface::RequireTypes SendMailPluginInterface::requires() const
PimCommon::GenericPluginInterface::RequireTypes SendMailPluginInterface::requiresFeatures() const
{
return PimCommon::GenericPluginInterface::CurrentItems;
}
......
......@@ -19,7 +19,7 @@ public:
void exec() override;
void createAction(KActionCollection *ac) override;
void setCurrentItems(const Akonadi::Item::List &items) override;
Q_REQUIRED_RESULT PimCommon::GenericPluginInterface::RequireTypes requires() const override;
Q_REQUIRED_RESULT PimCommon::GenericPluginInterface::RequireTypes requiresFeatures() const override;
void updateActions(int numberOfSelectedItems, int numberOfSelectedCollections) override;
private:
......
......@@ -50,7 +50,7 @@ void SendVcardsPluginInterface::setCurrentItems(const Akonadi::Item::List &items
mListItems = items;
}
PimCommon::GenericPluginInterface::RequireTypes SendVcardsPluginInterface::requires() const
PimCommon::GenericPluginInterface::RequireTypes SendVcardsPluginInterface::requiresFeatures() const
{
return PimCommon::GenericPluginInterface::CurrentItems;
}
......
......@@ -19,7 +19,7 @@ public:
void exec() override;
void createAction(KActionCollection *ac) override;
void setCurrentItems(const Akonadi::Item::List &items) override;
Q_REQUIRED_RESULT PimCommon::GenericPluginInterface::RequireTypes requires() const override;
Q_REQUIRED_RESULT PimCommon::GenericPluginInterface::RequireTypes requiresFeatures() const override;
void updateActions(int numberOfSelectedItems, int numberOfSelectedCollections) override;
......
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