MailTransport

addtransportdialogng.h
1/*
2 SPDX-FileCopyrightText: 2009 Constantin Berzan <exit3219@gmail.com>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "kmailtransport_private_export.h"
10#include <QDialog>
11
12#include <memory>
13
14namespace MailTransport
15{
16class AddTransportDialogNGPrivate;
17
18/**
19 @internal
20
21 A dialog for creating a new transport. It asks the user for the transport
22 type and name, and then proceeds to configure the new transport.
23
24 To create a new transport from applications, use
25 TransportManager::showNewTransportDialog().
26
27 @author Constantin Berzan <exit3219@gmail.com>
28 @since 4.4
29*/
30class KMAILTRANSPORT_TESTS_EXPORT AddTransportDialogNG : public QDialog
31{
32 Q_OBJECT
33
34public:
35 /**
36 Creates a new AddTransportDialogNG.
37 */
38 explicit AddTransportDialogNG(QWidget *parent = nullptr);
39
40 /**
41 Destroys the AddTransportDialogNG.
42 */
43 ~AddTransportDialogNG() override;
44
45 /* reimpl */
46 void accept() override;
47
48private:
49 std::unique_ptr<AddTransportDialogNGPrivate> const d;
50};
51} // namespace MailTransport
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:17 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.