[Development] Is Qt::InputMethodQuery obsolete?

Takumi Asaki takumi.asaki at gmail.com
Thu Jan 10 14:55:44 CET 2013


Hi,

(2013/01/08 23:04), Michael Hasselmann wrote:
> On Tue, 2013-01-08 at 22:37 +0900, Takumi ASAKI wrote:
>> Hi,
>>
>> Qt::InputMethodQuery is marked as obsolete in the document.
>> http://qt-project.org/doc/qt-5.0/qtcore/qt-obsolete.html#InputMethodQuery-enum
>>
>> Is this correct?
>>
>> Qt::InputMethodQuery is very important for Input Method.
>
> And yet, it is very poor API.
>
>> And the new class QInputMethodQueryEvent is depends on it.
>> It seems there is no alternatives.
>
> I wouldn't be so quick to say that. Have you looked at QInputMethod?

Yes.
But QInputMethod is the class for UIs to query/control input methods.
InputMethodQuery is used by input methods to query UI's information.
Their purposes are different.

Best Regards,

> ciao Michael
>

  * 英語 - 自動検出
  * 英語
  * 日本語

  * 英語
  * 日本語

  <javascript:void(0);>

  * 英語
  * 日本語




More information about the Development mailing list