summaryrefslogtreecommitdiffstats
path: root/src/gui/inputmethod/qinputcontext_p.h
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-04-01 08:18:06 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-04-01 13:10:55 (GMT)
commitf3dbe7d3ebac51b32cf7cc227032fa87a087c682 (patch)
treee8515ca209f8d3c1ab6411bb4a8ce143f5c5b995 /src/gui/inputmethod/qinputcontext_p.h
parent69e20859bc54b1bfd9ec1a71e034d597ab466a03 (diff)
downloadQt-f3dbe7d3ebac51b32cf7cc227032fa87a087c682.zip
Qt-f3dbe7d3ebac51b32cf7cc227032fa87a087c682.tar.gz
Qt-f3dbe7d3ebac51b32cf7cc227032fa87a087c682.tar.bz2
Improved IME handling on Windows.
QWizard sets focus on a widget when switching to a page before the widget becomes visible, which caused problems with our ime handling which didn't enable ime correctly. The fix is to refactor the code to enable ime handling whenever someone tells input context to set focus by calling QInputContext::setFocusWidget instead of relying on FocusIn/Out events and duplicating updateImeStatus calls all over Qt.. Task-number: 244604 Reviewed-by: Prasanth Ullattil
Diffstat (limited to 'src/gui/inputmethod/qinputcontext_p.h')
-rw-r--r--src/gui/inputmethod/qinputcontext_p.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/inputmethod/qinputcontext_p.h b/src/gui/inputmethod/qinputcontext_p.h
index 8c1b8de..a5e3d91 100644
--- a/src/gui/inputmethod/qinputcontext_p.h
+++ b/src/gui/inputmethod/qinputcontext_p.h
@@ -84,10 +84,6 @@ public:
{}
QWidget *focusWidget;
-
-#if defined(Q_WS_WIN) || defined(Q_WS_QWS)
- static void updateImeStatus(QWidget *w, bool hasFocus);
-#endif
};
QT_END_NAMESPACE