MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / disconnectSocket

Method disconnectSocket

Components/RMSViewTab.cpp:206–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206void
207RMSViewTab::disconnectSocket(void)
208{
209 if (this->socket != nullptr) {
210 this->socket->close();
211 delete this->socket;
212 this->socket = nullptr;
213 }
214
215 this->ui->stopButton->setEnabled(false);
216 this->ui->stopButton->setChecked(false);
217 this->ui->stopButton->setIcon(QIcon(":/icons/offline.png"));
218}
219
220void
221RMSViewTab::fitVertical(void)

Callers 4

processSocketDataMethod · 0.95
~RMSViewTabMethod · 0.95
onStopMethod · 0.95
onSocketDisconnectedMethod · 0.95

Calls 2

closeMethod · 0.45
setEnabledMethod · 0.45

Tested by

no test coverage detected