qt5base-lts/tests/auto/corelib/text/qregexp
Lars Knoll 45ed28a9d3 Remove QRegExp from QVariant
Add an operator QVariant() to QRegExp to keep things at source compatible
as possible.

Add a hack to QVariant::load/save() to recognize the old typeid
for QRegExp and stream them correctly as long as the streaming operators
for QRegExp are registered.

Also move the datastream test for QRegExp to tst_qregexp, and adjust it to
the qvariant changes.

Change-Id: I120b38a7541b43ec07a21b17f7f35c55f071eb75
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2020-05-14 12:19:47 +00:00
..
data Remove QRegExp from QVariant 2020-05-14 12:19:47 +00:00
.gitignore Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00
CMakeLists.txt Regenerate tests/auto/corelib/text 2019-11-12 17:26:05 +00:00
qregexp.pro Remove QRegExp from QVariant 2020-05-14 12:19:47 +00:00
qregexp.qrc Remove QRegExp from QVariant 2020-05-14 12:19:47 +00:00
tst_qregexp.cpp Remove QRegExp from QVariant 2020-05-14 12:19:47 +00:00