>>>>> "John" == John Levon <[EMAIL PROTECTED]> writes:

John> I't's easy. in operator== you need something like :

John>   if (r2.key() == Qt::Key_unknown) { string symb =
John> qtext_to_symb(r2.text()); return r1.text() == symb.c_str(); }

John>   return r1.key() == r2.key();

John> where qtext_to_symb has :

John>   if (text == "Ä") return "Adiaresis";

I took a quick look at the code and at qnamespace.h and have an
obvious question: does anyone know why Qt does not return
Qt::Adiaresis in this case? If it exists one would think that it is used somewhere, no?

John> Juergen, if you have trouble trying this, tell me, and I'll
John> commit a "framework" patch doing it. I can't test it obviously

Why? Don't you have a compose key? I do see the wrong behaviour on my
US keyboard.

JMarc

Reply via email to