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

Method accept

Plugins/RawStream/DlgSettingsRawStream.cpp:45–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45void CDlgSettingsRawStream::accept()
46{
47 if(!ui->wTcpNet->CheckValidity(true)) {
48 ui->tabWidget->setCurrentIndex(0);
49 return;
50 }
51
52 m_pPara->SetName(ui->leName->text());
53 m_pPara->SetType((CParameterRawStream::TYPE)ui->cbType->currentData().toInt());
54 ui->wTcpNet->Accept();
55
56 QDialog::accept();
57}
58
59void CDlgSettingsRawStream::on_cbType_currentIndexChanged(int index)
60{

Callers

nothing calls this directly

Calls 4

CheckValidityMethod · 0.45
SetNameMethod · 0.45
SetTypeMethod · 0.45
AcceptMethod · 0.45

Tested by

no test coverage detected