MailTransport

transportmanagementwidgetng.h
1/*
2 SPDX-FileCopyrightText: 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_export.h"
10
11#include <QWidget>
12
13#include <memory>
14
15namespace MailTransport
16{
17class TransportManagementWidgetNgPrivate;
18class TransportActivitiesAbstract;
19
20/**
21 A widget to manage mail transports.
22*/
23class MAILTRANSPORT_EXPORT TransportManagementWidgetNg : public QWidget
24{
25 Q_OBJECT
26
27public:
28 /**
29 Creates a new TransportManagementWidgetNg.
30 @param parent The parent widget.
31 */
32 explicit TransportManagementWidgetNg(QWidget *parent = nullptr);
33
34 /**
35 Destroys the widget.
36 */
38
39 [[nodiscard]] bool enablePlasmaActivities() const;
40 void setEnablePlasmaActivities(bool newEnablePlasmaActivities);
41
42 void setTransportActivitiesAbstract(TransportActivitiesAbstract *activitiesAbstract);
43
44private:
45 std::unique_ptr<TransportManagementWidgetNgPrivate> const d;
46};
47} // namespace MailTransport
~TransportManagementWidgetNg() override
Destroys the widget.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:35:38 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.