File indexing completed on 2024-04-28 16:52:52

0001 /*
0002     SPDX-FileCopyrightText: 2015 Jan Grulich <jgrulich@redhat.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0005 */
0006 
0007 #ifndef SSTP_AUTH_H
0008 #define SSTP_AUTH_H
0009 
0010 #include "settingwidget.h"
0011 
0012 #include <NetworkManagerQt/VpnSetting>
0013 
0014 class SstpAuthWidgetPrivate;
0015 
0016 class SstpAuthWidget : public SettingWidget
0017 {
0018     Q_OBJECT
0019     Q_DECLARE_PRIVATE(SstpAuthWidget)
0020 public:
0021     explicit SstpAuthWidget(const NetworkManager::VpnSetting::Ptr &setting, const QStringList &hints, QWidget *parent = nullptr);
0022     ~SstpAuthWidget() override;
0023 
0024     QVariantMap setting() const override;
0025 
0026 private:
0027     SstpAuthWidgetPrivate *const d_ptr;
0028 };
0029 
0030 #endif // SSTP_AUTH_H