MailTransport

smtpmailtransportplugin.h
1/*
2 SPDX-FileCopyrightText: 2017-2025 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include <MailTransport/TransportAbstractPlugin>
10#include <QVariant>
11
12class SMTPMailTransportPlugin : public MailTransport::TransportAbstractPlugin
13{
15public:
16 explicit SMTPMailTransportPlugin(QObject *parent = nullptr, const QList<QVariant> & = {});
17 ~SMTPMailTransportPlugin() override;
18
19 [[nodiscard]] QList<MailTransport::TransportAbstractPluginInfo> names() const override;
20 [[nodiscard]] bool configureTransport(const QString &identifier, MailTransport::Transport *transport, QWidget *parent) override;
21 [[nodiscard]] MailTransport::TransportJob *createTransportJob(MailTransport::Transport *t, const QString &identifier) override;
22};
The TransportAbstractPlugin class.
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:53:49 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.