1#include "PluginLibSSH.h"
2#include "RabbitCommonDir.h"
3#include "ConnecterSSH.h"
5#include <QLoggingCategory>
6Q_LOGGING_CATEGORY(ssh,
"SSH")
12CPluginLibSSH::~CPluginLibSSH()
14 qDebug(ssh) <<
"CPluginFactoryLibSSH::~CPluginFactoryLibSSH()";
29 return tr(
"SSH: you can remotely execute programs, transfer files, use a secure and transparent tunnel, manage public keys and much more ...");
32const QIcon CPluginLibSSH::Icon()
const
34 return QIcon::fromTheme(
"ssh");
39 if(
Id() == szProtocol)
virtual const QString Id() const
标识。默认: Protocol() + ":" + Name()
virtual const QString Protocol() const override
协议
virtual const QString Description() const override
描述
virtual CConnecter * CreateConnecter(const QString &szProtocol) override
新建 CConnecter 实例。仅由 CClient 调用
virtual const QString Name() const override
插件名,这个名一定要与工程名(${PROJECT_NAME})相同。 翻译文件(${PROJECT_NAME}_*.ts))名与其相关。