MailTransport

smtpmailtransportplugin.h
1/*
2 SPDX-FileCopyrightText: 2017-2024 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.
Abstract base class for all mail transport jobs.
Represents the settings of a specific mail transport.
Definition transport.h:33
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.