File indexing completed on 2025-01-05 04:49:30
0001 /* 0002 SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <MessageComposer/PluginEditorCheckBeforeSend> 0010 0011 class AutomaticAddContactsPlugin : public MessageComposer::PluginEditorCheckBeforeSend 0012 { 0013 Q_OBJECT 0014 public: 0015 explicit AutomaticAddContactsPlugin(QObject *parent = nullptr, const QList<QVariant> & = {}); 0016 ~AutomaticAddContactsPlugin() override; 0017 0018 [[nodiscard]] MessageComposer::PluginEditorCheckBeforeSendInterface *createInterface(QObject *parent) override; 0019 [[nodiscard]] bool hasConfigureDialog() const override; 0020 void showConfigureDialog(QWidget *parent) override; 0021 };