File indexing completed on 2025-01-05 04:49:32
0001 /* 0002 SPDX-FileCopyrightText: 2022-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "akonadidatabasetoolsutils.h" 0010 #include "akonadidatasetools_export.h" 0011 #include <PimCommonAkonadi/GenericPluginInterface> 0012 class AKONADIDATASETOOLS_EXPORT AkonadiDatabaseToolsPluginInterface : public PimCommon::GenericPluginInterface 0013 { 0014 public: 0015 explicit AkonadiDatabaseToolsPluginInterface(QObject *parent = nullptr); 0016 ~AkonadiDatabaseToolsPluginInterface() override; 0017 0018 void exec() override; 0019 void createAction(KActionCollection *ac) override; 0020 0021 private: 0022 void slotActivated(); 0023 AkonadiDatabaseToolsUtils::AkonadiDatabaseTool mTool = AkonadiDatabaseToolsUtils::AkonadiDatabaseTool::Unknown; 0024 };