bool RadioConnectionService::connectToDataSource() { if (serialPort_.open(QIODevice::ReadWrite)) { emit connectionSucceeded(); return true; } else { emit connectionFailed(serialPort_.errorString()); return false; } }
void GameClient::slotConnected() { connected = true; emit connectionSucceeded(); }
void FakeConnectionService::emitSignalConnectionSucceeded() { emit connectionSucceeded("Connected"); }