File indexing completed on 2024-05-05 17:42:56
0001 /* 0002 SPDX-FileCopyrightText: 2013 Lukas Tinkl <ltinkl@redhat.com> 0003 0004 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0005 */ 0006 0007 #ifndef PLASMA_NM_VPNC_ADVANCED_WIDGET_H 0008 #define PLASMA_NM_VPNC_ADVANCED_WIDGET_H 0009 0010 #include <QDialog> 0011 0012 #include <NetworkManagerQt/VpnSetting> 0013 0014 namespace Ui 0015 { 0016 class VpncAdvancedWidget; 0017 } 0018 0019 class VpncAdvancedWidget : public QDialog 0020 { 0021 Q_OBJECT 0022 public: 0023 explicit VpncAdvancedWidget(const NetworkManager::VpnSetting::Ptr &setting, QWidget *parent = nullptr); 0024 ~VpncAdvancedWidget() override; 0025 0026 NMStringMap setting() const; 0027 void loadConfig(const NetworkManager::VpnSetting::Ptr &setting); 0028 0029 private: 0030 Ui::VpncAdvancedWidget *const m_ui; 0031 }; 0032 0033 #endif // PLASMA_NM_VPNC_ADVANCED_WIDGET_H