| 18 | } |
| 19 | |
| 20 | int 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 | |
| 31 | int CParameterSSHTunnelUI::Accept() |
| 32 | { |
nothing calls this directly
no test coverage detected