File indexing completed on 2024-05-05 17:42:50
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 PLASMA_NM_L2TP_AUTH_H 0009 #define PLASMA_NM_L2TP_AUTH_H 0010 0011 #include <NetworkManagerQt/VpnSetting> 0012 0013 #include "settingwidget.h" 0014 0015 class L2tpAuthWidgetPrivate; 0016 0017 class L2tpAuthWidget : public SettingWidget 0018 { 0019 Q_OBJECT 0020 Q_DECLARE_PRIVATE(L2tpAuthWidget) 0021 public: 0022 explicit L2tpAuthWidget(const NetworkManager::VpnSetting::Ptr &setting, const QStringList &hints, QWidget *parent = nullptr); 0023 ~L2tpAuthWidget() override; 0024 virtual void readSecrets(); 0025 QVariantMap setting() const override; 0026 0027 private: 0028 L2tpAuthWidgetPrivate *const d_ptr; 0029 }; 0030 0031 #endif // PLASMA_NM_L2TP_AUTH_H