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

0001 /*
0002     SPDX-FileCopyrightText: 2011 Ilia Kats <ilia-kats@gmx.net>
0003     SPDX-FileCopyrightText: 2013 Lukáš Tinkl <ltinkl@redhat.com>
0004 
0005     SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0006 */
0007 
0008 #ifndef PPTPAUTH_H
0009 #define PPTPAUTH_H
0010 
0011 #include <NetworkManagerQt/VpnSetting>
0012 
0013 #include "settingwidget.h"
0014 
0015 class PptpAuthWidgetPrivate;
0016 
0017 class PptpAuthWidget : public SettingWidget
0018 {
0019     Q_OBJECT
0020     Q_DECLARE_PRIVATE(PptpAuthWidget)
0021 public:
0022     explicit PptpAuthWidget(const NetworkManager::VpnSetting::Ptr &setting, const QStringList &hints, QWidget *parent = nullptr);
0023     ~PptpAuthWidget() override;
0024 
0025     QVariantMap setting() const override;
0026 
0027 private:
0028     PptpAuthWidgetPrivate *const d_ptr;
0029 };
0030 
0031 #endif // PPTPAUTH_H