Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
ConnecterSSH.cpp
1#include "ConnecterSSH.h"
2#include "DlgSettingsSSH.h"
3#include "ConnectSSH.h"
4
5CConnecterSSH::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
16CConnecterSSH::~CConnecterSSH()
17{}
18
19CConnect *CConnecterSSH::InstanceConnect()
20{
21 return new CConnectSSH(this);
22}
23
24QDialog *CConnecterSSH::GetDialogSettings(QWidget *parent)
25{
26 CParameterSSH* pPara = dynamic_cast<CParameterSSH*>(GetParameter());
27 return new CDlgSettingsSSH(pPara, parent);
28}
Connect interface.
Definition Connect.h:45
The plugin interface.