aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquicktextinput.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-03-17 16:36:08 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-03-18 16:02:36 +0100
commit7230005ef66f22a7ee3addff95b1e8d9060dc5a1 (patch)
treea08ff3fce798fc1fb88809083efb4070cbc4d091 /src/quick/items/qquicktextinput.cpp
parentc5b48c735e1c26444e53c4ea7dc6df4c57b5e9b4 (diff)
Remove QRegExpValidator usages
This also means the RegExpValidator QML type will be gone. Use QRegularExpressionValidator instead. [ChangeLog][QtQuick][RegExpValidator] The RegExpValidator QML type has been removed. Use RegularExpressionValidator instead. Change-Id: If25fc5a258a669dfd28e705271757caa252ce05c Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/quick/items/qquicktextinput.cpp')
-rw-r--r--src/quick/items/qquicktextinput.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/quick/items/qquicktextinput.cpp b/src/quick/items/qquicktextinput.cpp
index 304f96e93a..6b941f3114 100644
--- a/src/quick/items/qquicktextinput.cpp
+++ b/src/quick/items/qquicktextinput.cpp
@@ -1008,10 +1008,10 @@ void QQuickTextInput::setAutoScroll(bool b)
an acceptable or intermediate state. The accepted signal will only be sent
if the text is in an acceptable state when enter is pressed.
- Currently supported validators are IntValidator, DoubleValidator,
- RegExpValidator and RegularExpressionValidator. An example of using
- validators is shown below, which allows input of integers between 11 and 31
- into the text input:
+ Currently supported validators are IntValidator, DoubleValidator
+ and RegularExpressionValidator. An example of using validators is shown
+ below, which allows input of integers between 11 and 31 into the
+ text input:
\code
import QtQuick 2.0