void MainWindow::onDataAvailable() { inbuffer.append( ms->readAll() ); doProcessBuffer(); }