summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qinputpanel.h
diff options
context:
space:
mode:
authorPekka Vuorela <pekka.ta.vuorela@nokia.com>2011-09-07 20:57:00 +0300
committerLars Knoll <lars.knoll@nokia.com>2011-09-08 10:32:15 +0200
commit6d9d1e78f442b7480ae764d292099c34cb727ca5 (patch)
tree9dfc197ed1e1960d31da6362d77cd516cd0ecc4c /src/gui/kernel/qinputpanel.h
parent53d549fe7689ab65e133b085bf70f713f3436571 (diff)
Added QInputPanel::commit()
To be called when input context is expected to commit what it had as preedit, and resetting its state. Earlier this was done with ::reset() when in fact documentation somewhat disallowed doing so. Change-Id: I10ad0620aa42fce6d01a69265af8a4f5f9f4d397 Reviewed-on: http://codereview.qt-project.org/4401 Reviewed-by: Lars Knoll <lars.knoll@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Vesa Rantanen <vesa.rantanen@nokia.com>
Diffstat (limited to 'src/gui/kernel/qinputpanel.h')
-rw-r--r--src/gui/kernel/qinputpanel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qinputpanel.h b/src/gui/kernel/qinputpanel.h
index b0f0e2387b..c16a18eea9 100644
--- a/src/gui/kernel/qinputpanel.h
+++ b/src/gui/kernel/qinputpanel.h
@@ -97,6 +97,7 @@ public Q_SLOTS:
void update(Qt::InputMethodQueries queries);
void reset();
+ void commit();
void invokeAction(Action a, int cursorPosition);