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

0001 /*
0002     SPDX-FileCopyrightText: 2015 Jan Grulich <jgrulich@redhat.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0005 */
0006 
0007 #ifndef PLASMA_NM_SSH_H
0008 #define PLASMA_NM_SSH_H
0009 
0010 #include "vpnuiplugin.h"
0011 
0012 class Q_DECL_EXPORT SshUiPlugin : public VpnUiPlugin
0013 {
0014     Q_OBJECT
0015 public:
0016     explicit SshUiPlugin(QObject *parent = nullptr, const QVariantList & = QVariantList());
0017     ~SshUiPlugin() override;
0018     SettingWidget *widget(const NetworkManager::VpnSetting::Ptr &setting, QWidget *parent) override;
0019     SettingWidget *askUser(const NetworkManager::VpnSetting::Ptr &setting, const QStringList &hints, QWidget *parent) override;
0020     QString suggestedFileName(const NetworkManager::ConnectionSettings::Ptr &connection) const override;
0021 };
0022 
0023 #endif //  PLASMA_NM_SSH_H