summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-10-01 13:31:22 (GMT)
committerVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-10-01 13:31:49 (GMT)
commiteda97a69aba55f32c348f4a8a830d5d80104d19b (patch)
tree558de3f2530b765ce071c09884fcc1139648f619 /src/corelib
parent27ad49b1677b06017fb922299efabe7bee320f2f (diff)
downloadQt-eda97a69aba55f32c348f4a8a830d5d80104d19b.zip
Qt-eda97a69aba55f32c348f4a8a830d5d80104d19b.tar.gz
Qt-eda97a69aba55f32c348f4a8a830d5d80104d19b.tar.bz2
Add input method hint for URL input widgets.
Rev-by: Axis
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/global/qnamespace.h1
-rw-r--r--src/corelib/global/qnamespace.qdoc1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h
index 473398b..a440606 100644
--- a/src/corelib/global/qnamespace.h
+++ b/src/corelib/global/qnamespace.h
@@ -1431,6 +1431,7 @@ public:
ImhLowercaseOnly = 0x80000,
ImhDialableCharactersOnly = 0x100000,
ImhEmailCharactersOnly = 0x200000,
+ ImhUrlCharactersOnly = 0x400000,
ImhExclusiveInputMask = 0xffff0000
};
diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc
index 684ebca..9106fa8 100644
--- a/src/corelib/global/qnamespace.qdoc
+++ b/src/corelib/global/qnamespace.qdoc
@@ -2469,6 +2469,7 @@
\value ImhLowercaseOnly Only lower case letter input is allowed.
\value ImhDialableCharactersOnly Only characters suitable for phone dialling are allowed.
\value ImhEmailCharactersOnly Only characters suitable for email addresses are allowed.
+ \value ImhUrlCharactersOnly Only characters suitable for URLs are allowed.
Masks: