How can I refresh keycode to keysym mapping?
Edward
marslee_suc at 163.com
Sun Apr 12 19:11:29 PDT 2009
Hi,
I can not find QKeyMapper class in QT4 assistant, how can I use this class? Maybe it is a internal class only for QT4 itself?
BR,
Edward.
2009-04-08,"Adam Jackson" <ajax at nwnk.net>
>On Wed, 2009-04-08 at 21:35 +0800, Edward wrote:
>> Hi,
>> Thank you very much. That must be the solution,but I am developing a
>> QT application how can I listen MappingNotify ? I think all events
>> will be sent to QT I don't know how to catch it
>
>MappingNotify is actually a non-optional event; it's sent to all clients
>whether they want it or not.
>
>However it looks like qt4 already gets this right: it calls
>XRefreshKeyboardMapping when it gets MappingNotify, and then calls
>QKeyMapper::changeKeyboard() to update its internal state. So you
>should probably use the QKeyMapper API instead.
>
>- ajax
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20090413/e50b68ab/attachment.html>
More information about the xorg
mailing list