MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / setHandle

Method setHandle

src/models/TunerModel.cpp:17–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15// ── Status parsing ──────────────────────────────────────────────────────────
16
17void TunerModel::setHandle(const QString& handle)
18{
19 if (m_handle == handle) return;
20 bool wasPres = isPresent();
21 m_handle = handle;
22 bool nowPres = isPresent();
23 qCDebug(lcTuner) << "TunerModel: handle set to" << m_handle;
24 if (wasPres != nowPres)
25 emit presenceChanged(nowPres);
26 emit stateChanged();
27}
28
29void TunerModel::applyStatus(const QMap<QString, QString>& kvs)
30{

Callers 2

onDisconnectedMethod · 0.80
onStatusReceivedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected