kdbgstream::operator<<({,u}char)

Stephan Kulow coolo at kde.org
Tue Nov 12 10:46:28 GMT 2002


Am Monday 11 November 2002 12:30 schrieb Marc Mutz:
> Hi!
>
> Shouldn't those output the char as character instead of number? If you
> want the value, you could then just write
>
> kdDebug() << int(mychar) << endl;
>
> while now you need to write ugly stuff like
>
> kdDebug() << QString( QChar( myChar ) ) << endl;
>
> to get the char output as character.
>
> (this is not a patch, just some hand-edited cut'n'paste)
>
if you add a check for 0 and '\n' (to flush) I agree and would suggest you 
commit it

Gretings, Stephan





More information about the kde-core-devel mailing list