maybe this will help you
Qt Code:
  1. ...
  2. QTimer::singleShot(10000, this, SLOT(terminateDataReceiving()));
  3. ...
To copy to clipboard, switch view to plain text mode