* @brief Replaces the MQTT publisher configuration and marks the project as modified. */
| 1365 | * @brief Replaces the MQTT publisher configuration and marks the project as modified. |
| 1366 | */ |
| 1367 | void DataModel::ProjectModel::setMqttPublisher(const QJsonObject& config) |
| 1368 | { |
| 1369 | if (m_mqttPublisher == config) |
| 1370 | return; |
| 1371 | |
| 1372 | m_mqttPublisher = config; |
| 1373 | setModified(true); |
| 1374 | Q_EMIT mqttPublisherChanged(); |
| 1375 | } |
| 1376 | |
| 1377 | /** |
| 1378 | * @brief Stages a single widget setting and marks the project dirty. QML callers pass JS |
no outgoing calls
no test coverage detected