diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-04-02 11:07:14 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2020-04-03 21:02:23 +0200 |
commit | fb3552e0d152e963d74cccc7b36f4e618638b722 (patch) | |
tree | 6f1bc18f3cc8e01387edc8c07ff5cde8993cb3a9 /src/qml/jsruntime/qv4regexpobject_p.h | |
parent | cc6c5ae70b1389ed86301bbfc156628e1d3abbcd (diff) |
Remove QRegExp support from QtQml
Remove all code that supported converting between JS RegExp's and
QRegExp, as QRegExp is going away in Qt6.
Change-Id: I4863e68dd87a337d7e836d1b26c28ee3bb914e9f
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4regexpobject_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4regexpobject_p.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4regexpobject_p.h b/src/qml/jsruntime/qv4regexpobject_p.h index b94889e9f0..8b26d06579 100644 --- a/src/qml/jsruntime/qv4regexpobject_p.h +++ b/src/qml/jsruntime/qv4regexpobject_p.h @@ -80,7 +80,6 @@ DECLARE_HEAP_OBJECT(RegExpObject, Object) { void init(); void init(QV4::RegExp *value); - void init(const QRegExp &re); #if QT_CONFIG(regularexpression) void init(const QRegularExpression &re); #endif @@ -140,7 +139,6 @@ struct Q_QML_PRIVATE_EXPORT RegExpObject: Object { return setProperty(Index_LastIndex, Value::fromInt32(index)); } - QRegExp toQRegExp() const; #if QT_CONFIG(regularexpression) QRegularExpression toQRegularExpression() const; #endif |