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

Method slotAdd

Plugins/WakeOnLan/OperateWakeOnLan.cpp:213–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213void COperateWakeOnLan::slotAdd()
214{
215 QSharedPointer<CParameterWakeOnLan> para(new CParameterWakeOnLan());
216 para->SetPluginParameters(m_pParameterPlugin);
217 CParameterWakeOnLanUI dlg;
218 dlg.SetParameter(para.data());
219 int nRet = RC_SHOW_WINDOW(&dlg);
220 if(QDialog::Accepted == nRet)
221 m_pModel->AddItem(para);
222}

Callers

nothing calls this directly

Calls 4

SetPluginParametersMethod · 0.45
SetParameterMethod · 0.45
dataMethod · 0.45
AddItemMethod · 0.45

Tested by

no test coverage detected