42 QVariantMap::const_iterator i = Details.begin();
43 for ( ; i != Details.end(); ++i)
49 QVariantMap devices = i.value().toMap();
50 QVariantMap::const_iterator j = devices.constBegin();
51 for ( ; j != devices.constEnd(); ++j)
57 QVariantMap details = j.value().toMap();
58 QVariantMap::const_iterator it = details.constBegin();
59 for ( ; it != details.constEnd(); ++it)
64 QVariantMap system = it.value().toMap();
65 QString uniqueid = system.value(QStringLiteral(
"name")).toString();
67 m_inputs.insert(uniqueid, input);
78 QMap<QString,TorcInput*>::const_iterator it = m_inputs.constBegin();
79 for ( ; it != m_inputs.constEnd(); ++it)
81 it.value()->DownRef();
82 TorcInputs::gInputs->RemoveInput(it.value());
QReadWriteLock m_handlerLock