add: str.setUnicode( copy, len ); delete [] copy;
context: static void swapEndian(QString &str){  ushort us;  uint len = str.length();  for (uint i = 0; i < len; i++)  {    us = str[i].unicode();    str[i] = QChar(kmail_swap_16(us));  }}