MCPcopy Create free account
hub / github.com/KDE/labplot / willRetainChanged

Method willRetainChanged

src/frontend/dockwidgets/LiveDataDock.cpp:565–570  ·  view source on GitHub ↗

! *\brief called when will message's retain flag is changed in the will settings widget * sets the retain flag for the will message in in m_mqttClient * * \param state the state of the will retain chechbox */

Source from the content-addressed store, hash-verified

563 * \param state the state of the will retain chechbox
564 */
565void LiveDataDock::willRetainChanged(bool useWillRetainMessages) {
566 if (useWillRetainMessages)
567 m_mqttClient->setWillRetain(true);
568 else
569 m_mqttClient->setWillRetain(false);
570}
571
572/*!
573 *\brief called when will topic combobox's current item is changed in the will settings widget

Callers 1

showWillSettingsMethod · 0.95

Calls 1

setWillRetainMethod · 0.80

Tested by

no test coverage detected