File indexing completed on 2024-11-24 04:43:02
0001 /* 0002 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <PimCommonAkonadi/GenericPluginInterface> 0010 0011 class MergeContactsPluginInterface : public PimCommon::GenericPluginInterface 0012 { 0013 public: 0014 explicit MergeContactsPluginInterface(QObject *parent = nullptr); 0015 ~MergeContactsPluginInterface() override; 0016 0017 void exec() override; 0018 void createAction(KActionCollection *ac) override; 0019 void setCurrentItems(const Akonadi::Item::List &items) override; 0020 [[nodiscard]] PimCommon::GenericPluginInterface::RequireTypes requiresFeatures() const override; 0021 0022 private: 0023 void slotActivated(); 0024 Akonadi::Item::List mListItems; 0025 };