MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / SetParameter

Method SetParameter

Src/ParameterCompone/ParameterSSHTunnelUI.cpp:20–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20int CParameterSSHTunnelUI::SetParameter(CParameter *pParameter)
21{
22 m_pParameters = qobject_cast<CParameterSSHTunnel*>(pParameter);
23 // Call net ui SetParameter
24 ui->wNet->SetParameter(&m_pParameters->m_Net);
25 ui->leSourceHost->setText(m_pParameters->GetSourceHost());
26 ui->sbSourcePort->setValue(m_pParameters->GetSourcePort());
27 ui->lePcapFile->setText(m_pParameters->GetPcapFile());
28 return 0;
29}
30
31int CParameterSSHTunnelUI::Accept()
32{

Callers

nothing calls this directly

Calls 3

GetSourceHostMethod · 0.80
GetSourcePortMethod · 0.80
GetPcapFileMethod · 0.80

Tested by

no test coverage detected