File indexing completed on 2025-01-19 04:46:47
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 #include <PimCommon/CustomToolsPlugin> 0009 0010 #include <QVariant> 0011 class TranslatorPlugin : public PimCommon::CustomToolsPlugin 0012 { 0013 Q_OBJECT 0014 public: 0015 explicit TranslatorPlugin(QObject *parent = nullptr, const QList<QVariant> & = QList<QVariant>()); 0016 ~TranslatorPlugin() override; 0017 0018 PimCommon::CustomToolsViewInterface *createView(KActionCollection *ac, PimCommon::CustomToolsWidgetNg *parent) override; 0019 [[nodiscard]] QString customToolName() const override; 0020 [[nodiscard]] bool hasConfigureDialog() const override; 0021 void showConfigureDialog(QWidget *parent) override; 0022 };