Hi,
I am converting an app from qt3 -->qt4. The code uses Qextserialport and I think I now managed to do all changes except from one:

Qt Code:
  1. void pump::sendPump( const char *out)
  2. {
  3. if(port.open()) {
  4. port.writeBlock(out,strlen(out));
  5. port.flush();
  6. port.flush();
  7. port.close();
  8. }
  9. }
To copy to clipboard, switch view to plain text mode 

I recieve an error for the WriteBlock. Has this been changed in new version of Qextserial and can anyone help me how it should be written
Many thanks in advance!
Thomas