| 15 | // ── Status parsing ────────────────────────────────────────────────────────── |
| 16 | |
| 17 | void 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 | |
| 29 | void TunerModel::applyStatus(const QMap<QString, QString>& kvs) |
| 30 | { |
no outgoing calls
no test coverage detected