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