qt5base-lts/tests/auto/corelib/itemmodels
Lars Knoll ed8acbeb7c Automatically register data/debug stream operations in QMetaType
And remove the old manual registration code for those operators.

Add some special handling for long/ulong, as these types could be
streamed as a QVariant so far, but are not directly streamable
through QDataStream.

[ChangeLog][QtCore][QMetaType] The QMetaType::registerStreamOperators()
and QMetaType::registerDebugStreamOperator() methods have been
removed. The streaming operators for a type are now automatically
registered together with the type registration.  This implies that the
operators should be visible wherever the type is visible and being used.

[ChangeLog][Behavior Incompatible Changes] Because the QDataStream and
QDebug serialization operators are automatically registered with
QMetaType, the declarations of those functions must be present at any
point where the type is used with QMetaType and QVariant.

Change-Id: I4a0732651b20319af4a8397ff90b848ca4580d99
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2020-08-24 00:17:03 +02:00
..
qabstractitemmodel CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qabstractproxymodel CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qconcatenatetablesproxymodel CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qidentityproxymodel CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qitemmodel CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qitemselectionmodel Automatically register data/debug stream operations in QMetaType 2020-08-24 00:17:03 +02:00
qsortfilterproxymodel_common Add missing override in tst_QSortFilterProxyModel 2020-07-29 14:33:48 +02:00
qsortfilterproxymodel_recursive CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qsortfilterproxymodel_regularexpression Fix CaseSensitivity handling for QRegularExpression in QSortFilterProxyModel 2020-08-23 02:35:37 +02:00
qstringlistmodel Fix compiler warning in tst_qstringlistmodel 2020-07-20 09:38:58 +02:00
qtransposeproxymodel Restrict QVariant::isNull() behavior 2020-08-13 08:48:32 +02:00
CMakeLists.txt Remove QRegExp support from QSortFilterProxyModel 2020-04-15 14:38:40 +02:00
itemmodels.pro Remove QRegExp support from QSortFilterProxyModel 2020-04-15 14:38:40 +02:00