From ebb929d49318deae9d6bfdf97294315690640f91 Mon Sep 17 00:00:00 2001 From: Jason Barron Date: Wed, 14 Sep 2011 16:26:13 +0200 Subject: Make the Windows input context compile after the refactoring. There is no longer a focusObject setter/getter in the input context. Instead the object can be gotten from the new input panel API. Instead of reimplementing setFocusObject(), implementations should now connect to the inputItemChanged() signal of QInputPanel. Change-Id: I6c674424da5a0c8c3995e5f5acd191ef91ba8a00 Reviewed-on: http://codereview.qt-project.org/4913 Reviewed-by: Qt Sanity Bot Reviewed-by: Lars Knoll --- src/plugins/platforms/windows/qwindowsinputcontext.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/plugins/platforms/windows/qwindowsinputcontext.h') diff --git a/src/plugins/platforms/windows/qwindowsinputcontext.h b/src/plugins/platforms/windows/qwindowsinputcontext.h index 5198b5129e..2c683ee4e7 100644 --- a/src/plugins/platforms/windows/qwindowsinputcontext.h +++ b/src/plugins/platforms/windows/qwindowsinputcontext.h @@ -67,10 +67,9 @@ public: ~QWindowsInputContext(); virtual void reset(); - virtual void update(); + virtual void update(Qt::InputMethodQueries); virtual void mouseHandler(int x, QMouseEvent *event); - virtual void setFocusObject(QObject *o); static QWindowsInputContext *instance(); -- cgit v1.2.3