#include <kcharsets.h> #include <assert.h> int main() { TQString input( "<Hello &World>" ); TQString output = KCharsets::resolveEntities( input ); assert( output == "<Hello &World>" ); return 0; }