diff options
author | axis <qt-info@nokia.com> | 2009-05-05 13:55:44 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2009-05-06 09:03:05 (GMT) |
commit | 54a61942de75faf2d7f8d1a58ec15f36505e1d38 (patch) | |
tree | 314b3c3cca08ad4227dc33b73906dcf9b1bcaba6 /src/corelib | |
parent | 8731f4ca737d032ffdf12fa9f2dfb2fa550931dd (diff) | |
download | Qt-54a61942de75faf2d7f8d1a58ec15f36505e1d38.zip Qt-54a61942de75faf2d7f8d1a58ec15f36505e1d38.tar.gz Qt-54a61942de75faf2d7f8d1a58ec15f36505e1d38.tar.bz2 |
Split ImhNumbersOnly into DigitsOnly and FormattedNumbersOnly.
This was discussed with denis, and we found out that PIN codes on
phones are a use case where it would be an advantage to have digits
only. S60 already supports this mode of operation in their VK.
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/global/qnamespace.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h index 1475b2e..e0ca27c 100644 --- a/src/corelib/global/qnamespace.h +++ b/src/corelib/global/qnamespace.h @@ -1401,15 +1401,16 @@ public: enum InputMethodHint { ImhNone = 0x0, ImhHiddenText = 0x1, - ImhNumbersOnly = 0x2, - ImhUppercaseOnly = 0x4, - ImhLowercaseOnly = 0x8, - ImhNoAutoUppercase = 0x10, - ImhPreferNumbers = 0x20, - ImhPreferUppercase = 0x40, - ImhPreferLowercase = 0x80, - ImhNoPredictiveText = 0x100, - ImhDialableCharactersOnly = 0x200 + ImhDigitsOnly = 0x2, + ImhFormattedNumbersOnly = 0x4, + ImhUppercaseOnly = 0x8, + ImhLowercaseOnly = 0x10, + ImhNoAutoUppercase = 0x20, + ImhPreferNumbers = 0x40, + ImhPreferUppercase = 0x80, + ImhPreferLowercase = 0x100, + ImhNoPredictiveText = 0x200, + ImhDialableCharactersOnly = 0x400 }; Q_DECLARE_FLAGS(InputMethodHints, InputMethodHint) |