MailTransport

smtpconfigwidget.h
1/*
2 SPDX-FileCopyrightText: 2009 Constantin Berzan <exit3219@gmail.com>
3
4 Based on MailTransport code by:
5 SPDX-FileCopyrightText: 2006-2007 Volker Krause <vkrause@kde.org>
6
7 Based on KMail code by:
8 SPDX-FileCopyrightText: 2001-2002 Michael Haeckel <haeckel@kde.org>
9
10 SPDX-License-Identifier: LGPL-2.0-or-later
11*/
12
13#pragma once
14
15#include "widgets/transportconfigwidget.h"
16class QAbstractButton;
17namespace MailTransport
18{
19class Transport;
20
21/**
22 @internal
23*/
24class SMTPConfigWidgetPrivate;
25
26/**
27 @internal
28 Configuration widget for a SMTP transport.
29*/
31{
33
34public:
35 explicit SMTPConfigWidget(Transport *transport, QWidget *parent = nullptr);
36
37public Q_SLOTS:
38 /** reimpl */
39 void apply() override;
40
41private Q_SLOTS:
42 void checkSmtpCapabilities();
43 void passwordsLoaded();
44 void slotFinished(const QList<int> &results);
45 void hostNameChanged(const QString &text);
46 void encryptionChanged(int enc);
47 void ensureValidAuthSelection();
48
49private:
50 void encryptionAbstractButtonChanged(QAbstractButton *button);
51 Q_DECLARE_PRIVATE(SMTPConfigWidget)
52
53 void init();
54 void enablePasswordLine();
55};
56} // namespace MailTransport
Represents the settings of a specific mail transport.
Definition transport.h:33
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 24 2024 11:50:27 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.