summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatforminputcontext_qpa.cpp
diff options
context:
space:
mode:
authorPekka Vuorela <pekka.ta.vuorela@nokia.com>2011-09-20 15:33:27 +0300
committerQt by Nokia <qt-info@nokia.com>2011-09-20 19:18:19 +0200
commitdbdfdb2c95b261fe28955a89c2e00e212fd7d106 (patch)
tree0f9315e206084931a4ba040d9f809de6f91389bf /src/gui/kernel/qplatforminputcontext_qpa.cpp
parent6aad4122332c0291e2e3249b508c7583428177b9 (diff)
Implemented key filter support on platform input context
As previously with QInputContext, now supporting filterEvent() interface. Usage only on XCB so far. Change-Id: I8e5972626552bda32318fe060017d0217bb79a94 Reviewed-on: http://codereview.qt-project.org/5240 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Joona Petrell <joona.t.petrell@nokia.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/gui/kernel/qplatforminputcontext_qpa.cpp')
-rw-r--r--src/gui/kernel/qplatforminputcontext_qpa.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatforminputcontext_qpa.cpp b/src/gui/kernel/qplatforminputcontext_qpa.cpp
index 0fdcd9e9ac..3459046dab 100644
--- a/src/gui/kernel/qplatforminputcontext_qpa.cpp
+++ b/src/gui/kernel/qplatforminputcontext_qpa.cpp
@@ -78,6 +78,11 @@ void QPlatformInputContext::invokeAction(QInputPanel::Action action, int cursorP
reset();
}
+bool QPlatformInputContext::filterEvent(const QEvent *event)
+{
+ return false;
+}
+
QRectF QPlatformInputContext::keyboardRect() const
{
return QRectF();