qt5base-lts/tests/auto/corelib/kernel/qobject
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
..
signalbug Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
.gitignore QObject-test: Reorganize subprocess. 2011-12-14 07:07:09 +01:00
moc_oldnormalizeobject.cpp Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
oldnormalizeobject.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qobject.pro QObject-test: Reorganize subprocess. 2011-12-14 07:07:09 +01:00
tst_qobject.cpp Align QVariant::UserType and QMetaType::User 2012-02-07 08:52:32 +01:00
tst_qobject.pro tst_qobject: Run as console application. 2012-01-25 02:24:29 +01:00