Warning, file /plasma/plasma-nm/libs/editor/settings/wiredsecurity.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

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_WIRED_SECURITY_H
0008 #define PLASMA_NM_WIRED_SECURITY_H
0009 
0010 #include <QWidget>
0011 
0012 #include <NetworkManagerQt/Security8021xSetting>
0013 
0014 #include "security802-1x.h"
0015 #include "settingwidget.h"
0016 
0017 namespace Ui
0018 {
0019 class WiredSecurity;
0020 }
0021 
0022 class Q_DECL_EXPORT WiredSecurity : public SettingWidget
0023 {
0024     Q_OBJECT
0025 public:
0026     explicit WiredSecurity(const NetworkManager::Security8021xSetting::Ptr &setting8021x = NetworkManager::Security8021xSetting::Ptr(),
0027                            QWidget *parent = nullptr,
0028                            Qt::WindowFlags f = {});
0029     ~WiredSecurity() override;
0030     void loadConfig(const NetworkManager::Setting::Ptr &setting) override;
0031     void loadSecrets(const NetworkManager::Setting::Ptr &setting) override;
0032     QVariantMap setting() const override;
0033 
0034     bool enabled8021x() const;
0035 
0036 private:
0037     Ui::WiredSecurity *const m_ui;
0038     Security8021x *m_8021xWidget = nullptr;
0039     NetworkManager::Security8021xSetting::Ptr m_8021xSetting;
0040 };
0041 
0042 #endif // PLASMA_NM_WIRED_SECURITY_H