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/gui/kernel/qwidget.cpp | |
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/gui/kernel/qwidget.cpp')
-rw-r--r-- | src/gui/kernel/qwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qwidget.cpp b/src/gui/kernel/qwidget.cpp index d8d7be7..639d964 100644 --- a/src/gui/kernel/qwidget.cpp +++ b/src/gui/kernel/qwidget.cpp @@ -8478,8 +8478,8 @@ QVariant QWidget::inputMethodQuery(Qt::InputMethodQuery query) const This is only relevant for input widgets. It is used by the input method to retrieve hints as to how the input method - should operate. For example, if the Qt::ImhNumbersOnly flag is - set, the input method may change its visual components to reflect + should operate. For example, if the Qt::ImhFormattedNumbersOnly flag + is set, the input method may change its visual components to reflect that only numbers can be entered. \note The flags are only hints, so the particular input method |