Hi,<br>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><br>BR,<br><br>Edward. <br><br><br><br><br><br>2009-04-08,"Adam Jackson" <ajax@nwnk.net> <br>>On Wed, 2009-04-08 at 21:35 +0800, Edward wrote:<br>>> Hi,<br>>> Thank you very much. That must be the solution,but I am developing a<br>>> QT application how can I listen MappingNotify ? I think all events<br>>> will be sent to QT I don't know how to catch it<br>><br>>MappingNotify is actually a non-optional event; it's sent to all clients<br>>whether they want it or not. <br>><br>>However it looks like qt4 already gets this right: it calls<br>>XRefreshKeyboardMapping when it gets MappingNotify, and then calls<br>>QKeyMapper::changeKeyboard() to update its internal state. So you<br>>should probably use the QKeyMapper API instead.<br>><br>>- ajax<br>><br><!-- footer --><br><span title="neteasefooter"/><hr/>
<a href="http://email.163.com">网易邮箱,中国第一大电子邮件服务商</a>
</span>