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