Yes. Konqueror has problems in copy/paste. The file which has been generated in Kdevelop from pasted text from Konqueror has some kind of trash in it. These are sings beyond 127 decimal number. For me it was \160 which is A0 and these I had after every space.
My error was error: stray '\160' ....
I wrote simple prog which make this trash going to /dev/null
.
http://dysparycja.prv.pl/garbage/garbage.cpp