Changeset View
Changeset View
Standalone View
Standalone View
vpn/l2tp/l2tppppwidget.h
1 | /* | 1 | /* | ||
---|---|---|---|---|---|
2 | Copyright 2013 Jan Grulich <jgrulich@redhat.com> | 2 | Copyright 2013 Jan Grulich <jgrulich@redhat.com> | ||
3 | Copyright 2020 Douglas Kosovic <doug@uq.edu.au> | ||||
3 | 4 | | |||
4 | This library is free software; you can redistribute it and/or | 5 | This library is free software; you can redistribute it and/or | ||
5 | modify it under the terms of the GNU Lesser General Public | 6 | modify it under the terms of the GNU Lesser General Public | ||
Context not available. | |||||
34 | { | 35 | { | ||
35 | Q_OBJECT | 36 | Q_OBJECT | ||
36 | public: | 37 | public: | ||
37 | explicit L2tpPPPWidget(const NetworkManager::VpnSetting::Ptr &setting, QWidget *parent = nullptr); | 38 | explicit L2tpPPPWidget(const NetworkManager::VpnSetting::Ptr &setting, QWidget *parent = nullptr, bool need_peer_eap = false); | ||
38 | ~L2tpPPPWidget() override; | 39 | ~L2tpPPPWidget() override; | ||
39 | 40 | | |||
40 | NMStringMap setting() const; | 41 | NMStringMap setting() const; | ||
Context not available. | |||||
42 | private: | 43 | private: | ||
43 | void loadConfig(const NetworkManager::VpnSetting::Ptr &setting); | 44 | void loadConfig(const NetworkManager::VpnSetting::Ptr &setting); | ||
44 | Ui::L2tpPppWidget * m_ui; | 45 | Ui::L2tpPppWidget * m_ui; | ||
46 | bool m_need_peer_eap; | ||||
45 | }; | 47 | }; | ||
46 | 48 | | |||
47 | #endif // PLASMA_NM_L2TP_PPP_WIDGET_H | 49 | #endif // PLASMA_NM_L2TP_PPP_WIDGET_H | ||
Context not available. |