diff options
author | Geir Vattekar <geir.vattekar@nokia.com> | 2011-03-01 14:54:44 (GMT) |
---|---|---|
committer | Geir Vattekar <geir.vattekar@nokia.com> | 2011-03-01 14:54:44 (GMT) |
commit | 6f007e1fb71386ec94dc7f7557515ae5968db8d0 (patch) | |
tree | b221493024ddcb8f7c0dc79c053f56b8cc315994 /src/gui/inputmethod | |
parent | c8c11c9eb265b5050e530279c13252de9a9971d3 (diff) | |
download | Qt-6f007e1fb71386ec94dc7f7557515ae5968db8d0.zip Qt-6f007e1fb71386ec94dc7f7557515ae5968db8d0.tar.gz Qt-6f007e1fb71386ec94dc7f7557515ae5968db8d0.tar.bz2 |
Doc: Work on QInputContext::reset() docs
Task-number: QTBUG-17858
Reviewed-by: axis
Diffstat (limited to 'src/gui/inputmethod')
-rw-r--r-- | src/gui/inputmethod/qinputcontext.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/inputmethod/qinputcontext.cpp b/src/gui/inputmethod/qinputcontext.cpp index 063aefd..f083e51 100644 --- a/src/gui/inputmethod/qinputcontext.cpp +++ b/src/gui/inputmethod/qinputcontext.cpp @@ -355,9 +355,10 @@ void QInputContext::widgetDestroyed(QWidget *widget) in complex input method. In the case, call QInputContext::reset() to ensure proper termination of inputting. - You must not send any QInputMethodEvent except empty InputMethodEnd event using - QInputContext::reset() at reimplemented reset(). It will break - input state consistency. + In a reimplementation of reset(), you must not send any + QInputMethodEvent containing preedit text. You can only commit + string and attributes; otherwise, you risk breaking input state + consistency. */ |