void MainWindow::dataReady() { if(socket->canReadLine()) { fw_port = QString(socket->readLine()).toInt(); qDebug() << "Using forward port " << fw_port; emit newConnectionStatus(true); } }
void WBSDBaseWindow::connectionStatusChanged (int aStatus,StringMessage aMSG){ emit newConnectionStatus(aStatus,aMSG); }