MailTransport

addtransportdialogng.h
1 /*
2  SPDX-FileCopyrightText: 2009 Constantin Berzan <[email protected]>
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 
14 namespace MailTransport
15 {
16 class 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 <[email protected]>
28  @since 4.4
29 */
30 class KMAILTRANSPORT_TESTS_EXPORT AddTransportDialogNG : public QDialog
31 {
32  Q_OBJECT
33 
34 public:
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 
48 private:
49  std::unique_ptr<AddTransportDialogNGPrivate> const d;
50 };
51 } // namespace MailTransport
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Feb 7 2023 03:58:25 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.