Rabbit Remote Control
0.0.30
Loading...
Searching...
No Matches
Plugins
LibSSH
ConnecterSSH.cpp
1
#include "ConnecterSSH.h"
2
#include "DlgSettingsSSH.h"
3
#include "ConnectSSH.h"
4
5
CConnecterSSH::CConnecterSSH(
CPluginClient
*parent)
6
:
CConnecterTerminal
(parent)
7
{
8
m_pPara =
new
CParameterSSH
();
9
m_bThread =
true
;
10
if
(m_pPara)
11
{
12
m_pPara->SetPort(22);
13
}
14
}
15
16
CConnecterSSH::~CConnecterSSH()
17
{}
18
19
CConnect
*CConnecterSSH::InstanceConnect()
20
{
21
return
new
CConnectSSH
(
this
);
22
}
23
24
QDialog *CConnecterSSH::GetDialogSettings(QWidget *parent)
25
{
26
CParameterSSH
* pPara =
dynamic_cast<
CParameterSSH
*
>
(GetParameter());
27
return
new
CDlgSettingsSSH
(pPara, parent);
28
}
CConnectSSH
Definition
ConnectSSH.h:10
CConnect
Connect interface.
Definition
Connect.h:45
CConnecterTerminal
Definition
ConnecterTerminal.h:13
CDlgSettingsSSH
Definition
DlgSettingsSSH.h:15
CParameterSSH
Definition
ParameterSSH.h:7
CPluginClient
The plugin interface.
Definition
PluginClient.h:33
作者:康林 (kl222@126.com)
版权所有(c) 康林工作室 保留所有权力