File indexing completed on 2024-09-08 13:22:52
0001 /* 0002 SPDX-FileCopyrightText: 2016 Jan Grulich <jgrulich@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_IODINE_H 0008 #define PLASMA_NM_IODINE_H 0009 0010 #include "vpnuiplugin.h" 0011 0012 #include <QVariant> 0013 0014 class Q_DECL_EXPORT IodineUiPlugin : public VpnUiPlugin 0015 { 0016 Q_OBJECT 0017 public: 0018 explicit IodineUiPlugin(QObject *parent = nullptr, const QVariantList & = QVariantList()); 0019 ~IodineUiPlugin() override; 0020 SettingWidget *widget(const NetworkManager::VpnSetting::Ptr &setting, QWidget *parent) override; 0021 SettingWidget *askUser(const NetworkManager::VpnSetting::Ptr &setting, const QStringList &hints, QWidget *parent) override; 0022 0023 QString suggestedFileName(const NetworkManager::ConnectionSettings::Ptr &connection) const override; 0024 }; 0025 0026 #endif // PLASMA_NM_IODINE_H