MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / setMqttPublisher

Method setMqttPublisher

app/src/DataModel/ProjectModel.cpp:1367–1375  ·  view source on GitHub ↗

* @brief Replaces the MQTT publisher configuration and marks the project as modified. */

Source from the content-addressed store, hash-verified

1365 * @brief Replaces the MQTT publisher configuration and marks the project as modified.
1366 */
1367void 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

Callers 2

applyProjectConfigMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected