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

Method onDisconnect

src/frontend/datasources/MQTTConnectionManagerWidget.cpp:665–674  ·  view source on GitHub ↗

! * \brief Called when the client disconnects from the host */

Source from the content-addressed store, hash-verified

663 * \brief Called when the client disconnects from the host
664 */
665void MQTTConnectionManagerWidget::onDisconnect() {
666 RESET_CURSOR;
667 if (m_testTimer->isActive()) {
668 KMessageBox::error(
669 this,
670 i18n("Disconnected from the broker '%1:%2' before the connection was successful.", m_currentConnection->hostName, m_currentConnection->port),
671 i18n("Connection Failed"));
672 m_testTimer->stop();
673 }
674}

Callers

nothing calls this directly

Calls 1

isActiveMethod · 0.80

Tested by

no test coverage detected