3#include "PluginRabbitVNC.h"
5#include "RabbitCommonDir.h"
6#include "../../TigerVnc/Client/ConnecterVnc.h"
8#include <QLoggingCategory>
10Q_LOGGING_CATEGORY(log,
"RabbitVNC")
25 qDebug(log) <<
"CPluginRabbitVnc::~CPluginRabbitVnc()";
36 return tr(
"RabbitVNC");
41 return tr(
"VNC(Virtual Network Console): Access remote desktops such as unix/linux, windows, etc.") +
"\n"
42 + tr(
"VNC is a set of programs using the RFB (Remote Frame Buffer) protocol.") +
"\n"
43 + tr(
"The plugin is used RabbitVNC");
51const QIcon CPluginRabbitVNC::Icon()
const
53 return QIcon::fromTheme(
"network-wired");
58 return PluginRabbitVNC_VERSION;
客户端插件接口。用于建立 CConnecter 实例,它由协议插件实现。
virtual const QString Id() const
标识。默认: Protocol() + ":" + Name()
virtual const QString DisplayName() const override
在界面上显示的名称
virtual CConnecter * CreateConnecter(const QString &szID) override
新建 CConnecter 实例。仅由 CClient 调用
virtual ~CPluginRabbitVNC() override
virtual const QString Protocol() const override
协议
virtual const QString Name() const override
插件名,这个名一定要与工程名(${PROJECT_NAME})相同。 翻译文件(${PROJECT_NAME}_*.ts))名与其相关。
virtual const QString Version() const
Version
virtual const QString Description() const override
描述