Review Request 109480: Add support for xcb_generic_event_t to KKeyServer::xEventToQt

Martin Gräßlin mgraesslin at kde.org
Fri Jul 26 07:49:35 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/109480/
-----------------------------------------------------------

(Updated July 26, 2013, 9:49 a.m.)


Review request for KDE Frameworks.


Changes
-------

* rebased to current frameworks branch, that is moved to KWindowSystem
* renamed method to xcbKeyPressEventToQt
* overloaded method with either xcb_generic_event_t and xcb_key_press_event_t


Description
-------

Allows converting an xcb key event to Qt key + modifier code just like
the existing code for a XEvent. Slight difference: instead of an assert
the method returns false in case it's not a key event.


Diffs (updated)
-----

  tier1/kwindowsystem/src/CMakeLists.txt 6544585 
  tier1/kwindowsystem/src/kkeyserver_x11.h cb0b2be 
  tier1/kwindowsystem/src/kkeyserver_x11.cpp 28bfedd 

Diff: http://git.reviewboard.kde.org/r/109480/diff/


Testing
-------

it compiles :-) I'm currently lacking ideas how to unit test it. If I don't find a solution I will notice once I'm running KWin on top of KF5


Thanks,

Martin Gräßlin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20130726/2e3e91e3/attachment.html>


More information about the Kde-frameworks-devel mailing list