Changeset View
Changeset View
Standalone View
Standalone View
vpn/l2tp/l2tpauth.h
1 | /* | 1 | /* | ||
---|---|---|---|---|---|
2 | Copyright 2013 Jan Grulich <jgrulich@redhat.com> | 2 | Copyright 2011 Ilia Kats <ilia-kats@gmx.net> | ||
3 | 3 | Copyright 2013 Lukáš Tinkl <ltinkl@redhat.com> | |||
4 | This library is free software; you can redistribute it and/or | 4 | | ||
5 | modify it under the terms of the GNU Lesser General Public | 5 | This program is free software; you can redistribute it and/or | ||
6 | License as published by the Free Software Foundation; either | 6 | modify it under the terms of the GNU General Public License as | ||
7 | version 2.1 of the License, or (at your option) version 3, or any | 7 | published by the Free Software Foundation; either version 2 of | ||
8 | later version accepted by the membership of KDE e.V. (or its | 8 | the License or (at your option) version 3 or any later version | ||
9 | successor approved by the membership of KDE e.V.), which shall | 9 | accepted by the membership of KDE e.V. (or its successor approved | ||
10 | act as a proxy defined in Section 6 of version 3 of the license. | 10 | by the membership of KDE e.V.), which shall act as a proxy | ||
11 | 11 | defined in Section 14 of version 3 of the license. | |||
12 | This library is distributed in the hope that it will be useful, | 12 | | ||
13 | This program is distributed in the hope that it will be useful, | ||||
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | Lesser General Public License for more details. | 16 | GNU General Public License for more details. | ||
16 | 17 | | |||
17 | You should have received a copy of the GNU Lesser General Public | 18 | You should have received a copy of the GNU General Public License | ||
18 | License along with this library. If not, see <http://www.gnu.org/licenses/>. | 19 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
19 | */ | 20 | */ | ||
20 | 21 | | |||
21 | #ifndef PLASMA_NM_L2TP_AUTH_H | 22 | #ifndef PLASMA_NM_L2TP_AUTH_H | ||
Context not available. | |||||
25 | 26 | | |||
26 | #include "settingwidget.h" | 27 | #include "settingwidget.h" | ||
27 | 28 | | |||
28 | class L2tpAuthDialogPrivate; | 29 | class L2tpAuthWidgetPrivate; | ||
29 | 30 | | |||
30 | class L2tpAuthDialog : public SettingWidget | 31 | class L2tpAuthWidget : public SettingWidget | ||
31 | { | 32 | { | ||
32 | Q_OBJECT | 33 | Q_OBJECT | ||
33 | Q_DECLARE_PRIVATE(L2tpAuthDialog) | 34 | Q_DECLARE_PRIVATE(L2tpAuthWidget) | ||
34 | public: | 35 | public: | ||
35 | explicit L2tpAuthDialog(const NetworkManager::VpnSetting::Ptr &setting, QWidget *parent = nullptr); | 36 | explicit L2tpAuthWidget(const NetworkManager::VpnSetting::Ptr &setting, QWidget *parent = nullptr); | ||
36 | ~L2tpAuthDialog() override; | 37 | ~L2tpAuthWidget() override; | ||
37 | virtual void readSecrets(); | 38 | virtual void readSecrets(); | ||
38 | QVariantMap setting() const override; | 39 | QVariantMap setting() const override; | ||
39 | 40 | | |||
40 | private: | 41 | private: | ||
41 | L2tpAuthDialogPrivate *const d_ptr; | 42 | L2tpAuthWidgetPrivate *const d_ptr; | ||
42 | }; | 43 | }; | ||
43 | 44 | | |||
44 | #endif // PLASMA_NM_L2TP_AUTH_H | 45 | #endif // PLASMA_NM_L2TP_AUTH_H | ||
Context not available. |