rem: static QString str[4] = { "openpgp(inline)", "openpgp/mime", "s/mime", "s/mime(opaque)" }; if( i >= 0 && i < 4 ) return str[i];
add: static const char* str[4] = { "openpgp(inline)", "openpgp/mime", "s/mime", "s/mime(opaque)" }; if( i >= 0 && i < 4 ) return QString::fromLatin1( str[i] );
context: static QString proto_int_to_string( int i ){  static QString str[4] = { "openpgp(inline)", "openpgp/mime", "s/mime", "s/mime(opaque)" };  if( i >= 0 && i < 4 ) return str[i];  else return QString::null;}