Warning, file /plasma/plasma-nm/libs/editor/settings/vlanwidget.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_VLAN_WIDGET_H
0008 #define PLASMA_NM_VLAN_WIDGET_H
0009 
0010 #include <QWidget>
0011 
0012 #include "settingwidget.h"
0013 
0014 namespace Ui
0015 {
0016 class VlanWidget;
0017 }
0018 
0019 class Q_DECL_EXPORT VlanWidget : public SettingWidget
0020 {
0021     Q_OBJECT
0022 
0023 public:
0024     explicit VlanWidget(const NetworkManager::Setting::Ptr &setting, QWidget *parent = nullptr, Qt::WindowFlags f = {});
0025     ~VlanWidget() override;
0026 
0027     void loadConfig(const NetworkManager::Setting::Ptr &setting) override;
0028 
0029     QVariantMap setting() const override;
0030 
0031     bool isValid() const override;
0032 
0033 private:
0034     void fillConnections();
0035     Ui::VlanWidget *const m_ui;
0036 };
0037 
0038 #endif // PLASMA_NM_VLAN_WIDGET_H