if ( !QMessageBox::warning( 0, tr( "Host key verification failed" ),
I think that usingerrMsg, tr( "Yes" ), tr( "No" ) ) != 0)
!' in the beginning and
!=' in the end is a great idea to confuse everybody, including those who have written this piece of code. Or did I understood these lines in a wrong way (here is some irony) ?