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

Method Save

Plugins/WakeOnLan/WakeOnLanModel.cpp:293–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293int CWakeOnLanModel::Save(QSettings &set)
294{
295 int nRet = 0;
296 int i = 0;
297 set.setValue("Count", (int)m_Data.size());
298 foreach(auto d, m_Data)
299 {
300 set.beginGroup("Host" + QString::number(i++));
301 nRet = d->Save(set);
302 set.endGroup();
303 if(nRet)
304 break;
305 }
306 return nRet;
307}
308
309void CWakeOnLanModel::slotHostStateChanged()
310{

Callers 1

foreachFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected