File indexing completed on 2025-01-19 04:46:46
0001 /* 0002 SPDX-FileCopyrightText: 2017-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <MailTransport/TransportAbstractPlugin> 0010 #include <QVariant> 0011 0012 class SendMailTransportPlugin : public MailTransport::TransportAbstractPlugin 0013 { 0014 Q_OBJECT 0015 public: 0016 explicit SendMailTransportPlugin(QObject *parent = nullptr, const QList<QVariant> & = {}); 0017 ~SendMailTransportPlugin() override; 0018 0019 [[nodiscard]] QList<MailTransport::TransportAbstractPluginInfo> names() const override; 0020 bool configureTransport(const QString &identifier, MailTransport::Transport *transport, QWidget *parent) override; 0021 MailTransport::TransportJob *createTransportJob(MailTransport::Transport *t, const QString &identifier) override; 0022 };