diff options
author | Pekka Vuorela <pekka.ta.vuorela@nokia.com> | 2012-01-02 16:49:07 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-07 17:25:45 +0100 |
commit | a2fd2f90ec6f17715cff5b7e954c31b5356db649 (patch) | |
tree | c4e2d0e34e90aea248c198d8db4abaeb5e534560 /src/corelib/global/qnamespace.h | |
parent | 0277f14f48539d5f9d443c7d4135a54d4a5e2a62 (diff) |
Introduced input method hints for latin
On many cases especially latin input is wanted. Hint for these may,
e.g., help virtual keyboards on changing the layout to a western one.
Added a hint for requiring and another for preferring latin based
input.
Change-Id: I0ea79643665e25d9f916c3b8d0b7d7352843c2dc
Reviewed-by: Joona Petrell <joona.t.petrell@nokia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/corelib/global/qnamespace.h')
-rw-r--r-- | src/corelib/global/qnamespace.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h index 64c4541798..f584a26dfc 100644 --- a/src/corelib/global/qnamespace.h +++ b/src/corelib/global/qnamespace.h @@ -1298,6 +1298,8 @@ public: ImhDate = 0x80, ImhTime = 0x100, + ImhPreferLatin = 0x200, + ImhDigitsOnly = 0x10000, ImhFormattedNumbersOnly = 0x20000, ImhUppercaseOnly = 0x40000, @@ -1305,6 +1307,7 @@ public: ImhDialableCharactersOnly = 0x100000, ImhEmailCharactersOnly = 0x200000, ImhUrlCharactersOnly = 0x400000, + ImhLatinOnly = 0x800000, ImhExclusiveInputMask = 0xffff0000 }; |