QNX: QQnxCursor implementation.
authorRafael Roquetto <rafael.roquetto.qnx@kdab.com>
Tue, 11 Dec 2012 18:10:01 +0000 (16:10 -0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 28 Feb 2013 16:31:12 +0000 (17:31 +0100)
commit9fbecf11c7c5f7c059d6ba84c3da1458eaee608d
treef102e3bfbd21f89b084559ed01a601b29aa65bed
parent55cf7c577da015bd6d48a034902477b83cf73be7
QNX: QQnxCursor implementation.

Implementation of QQnxCursor, a QPlatformCursor subclass. Due to the lack of a
proper cursor API from the underlying OS, this class only caches the current
cursor position to make sure that the QCursor class works properly.

This is a backport of 290ed7f8fafd67197f773454223410bbe57fc4d3.
At the time there weren't any known bugs regarding this, so it was committed
to "dev" branch as a feature.

Now we needed it in "stable", otherwise menus don't work correctly, due to
QCursor::pos() being bogus.

Change-Id: I5a4217c92a0aaed0b22b45ca3c4e0fad882e810f
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
src/plugins/platforms/qnx/qnx.pro
src/plugins/platforms/qnx/qqnxcursor.cpp [new file with mode: 0644]
src/plugins/platforms/qnx/qqnxcursor.h [new file with mode: 0644]
src/plugins/platforms/qnx/qqnxscreen.cpp
src/plugins/platforms/qnx/qqnxscreen.h
src/plugins/platforms/qnx/qqnxscreeneventhandler.cpp