You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
226 B
13 lines
226 B
15 years ago
|
|
||
|
#include <kcharsets.h>
|
||
|
|
||
|
#include <assert.h>
|
||
|
|
||
|
int main()
|
||
|
{
|
||
15 years ago
|
TQString input( "<Hello &World>" );
|
||
|
TQString output = KCharsets::resolveEntities( input );
|
||
15 years ago
|
assert( output == "<Hello &World>" );
|
||
|
return 0;
|
||
|
}
|