diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2011-06-21 16:45:00 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2011-06-22 10:46:12 +0200 |
commit | 407a6fe79824b722dbc1224a1be29d26b8fdb729 (patch) | |
tree | cd7f4b4c638c6f4a168cf00ab83c26821b41ffe1 /src/corelib | |
parent | 4363d836f6a2b245e8e12d1e5eb08db791e95fce (diff) |
add QInputMethodQueryEvent
QInputMethodQueryEvent will replace the old
inputMethodHints() and inputMethodQuery() APIs
in QWidget. It has the advantage that it works
nicely with any kind of QObject.
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/global/qnamespace.h | 3 | ||||
-rw-r--r-- | src/corelib/kernel/qcoreevent.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h index 4a663fc8a5..38d4a85b89 100644 --- a/src/corelib/global/qnamespace.h +++ b/src/corelib/global/qnamespace.h @@ -1488,7 +1488,8 @@ public: ImSurroundingText, ImCurrentSelection, ImMaximumTextLength, - ImAnchorPosition + ImAnchorPosition, + ImHints }; enum InputMethodHint { diff --git a/src/corelib/kernel/qcoreevent.h b/src/corelib/kernel/qcoreevent.h index 432f6a8cee..791b207dea 100644 --- a/src/corelib/kernel/qcoreevent.h +++ b/src/corelib/kernel/qcoreevent.h @@ -296,6 +296,8 @@ public: Expose = 208, + InputMethodQuery = 209, + // 512 reserved for Qt Jambi's MetaCall event // 513 reserved for Qt Jambi's DeleteOnMainThread event |