I don't understand your idea? I had this code:
Qt Code:
  1. command = QString::fromUtf8( newSocket->socket->readAll());
To copy to clipboard, switch view to plain text mode 
in my program . In class MyThread, Socket receive data from server so bad. Data usually lose. Do you have idea to solution-problem?