qt5base-lts/tests/auto/corelib/kernel
Jędrzej Nowacki 56265031b7 Align QVariant::UserType and QMetaType::User
There is no point in keeping separate values which should mean the
same.

QVariant::UserType was used also to construct a valid, null QVariant,
containing an instance of unknown custom type. The concept was strange
and useless as there was no operation that could be done on such
QVariant. Therefore it was dropped.

Please note that the patch slightly changes behavior of different
functions accepting a type id as parameter. Before QVariant::UserType
was an invalid type from QMetaType perspective (id 127 was not assigned
to any built-in type), but QMetaType::User points to the first registered
custom type.

Change-Id: I5c7d541a9affdcdacf53a4eda2272bdafaa87b71
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
Reviewed-by: Andrew Stanley-Jones <andrew.stanley-jones@nokia.com>
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
2012-02-07 08:52:32 +01:00
..
qcoreapplication Add the event loop quitlock feature to QtCore. 2012-01-31 23:22:15 +01:00
qeventloop Add the event loop quitlock feature to QtCore. 2012-01-31 23:22:15 +01:00
qmath Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qmetaobject Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qmetaobjectbuilder Bring qmetaobjectbuilder in sync with moc 2012-02-03 15:09:03 +01:00
qmetaproperty Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qmetatype Allow function types to be registered without workarounds 2012-01-31 16:17:55 +01:00
qmimedata Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qobject Align QVariant::UserType and QMetaType::User 2012-02-07 08:52:32 +01:00
qpointer Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qsignalmapper Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qsocketnotifier Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qtimer Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qtranslator Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qvariant Align QVariant::UserType and QMetaType::User 2012-02-07 08:52:32 +01:00
qwineventnotifier Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
kernel.pro Add missing subdirectory to kernel.pro file. 2012-01-10 01:25:45 +01:00