File indexing completed on 2024-04-28 16:52:52

0001 /*
0002     SPDX-FileCopyrightText: 2009 Will Stephenson <wstephenson@kde.org>
0003     SPDX-FileCopyrightText: 2010 Maurus Rohrer <maurus.rohrer@gmail.com>
0004     SPDX-FileCopyrightText: 2013 Lukas Tinkl <ltinkl@redhat.com>
0005 
0006     SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0007 */
0008 
0009 #ifndef PLASMANM_STRONGSWAN_H
0010 #define PLASMANM_STRONGSWAN_H
0011 
0012 #include "vpnuiplugin.h"
0013 
0014 #include <QVariant>
0015 
0016 class Q_DECL_EXPORT StrongswanUiPlugin : public VpnUiPlugin
0017 {
0018     Q_OBJECT
0019 public:
0020     explicit StrongswanUiPlugin(QObject *parent = nullptr, const QVariantList & = QVariantList());
0021     ~StrongswanUiPlugin() override;
0022     SettingWidget *widget(const NetworkManager::VpnSetting::Ptr &setting, QWidget *parent) override;
0023     SettingWidget *askUser(const NetworkManager::VpnSetting::Ptr &setting, const QStringList &hints, QWidget *parent) override;
0024     QString suggestedFileName(const NetworkManager::ConnectionSettings::Ptr &connection) const override;
0025 };
0026 
0027 #endif //  PLASMANM_STRONGSWAN_H