qt5base-lts/tests/auto/dbus/qdbusmarshall
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
..
qpong Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
test all remaining tests: eliminated usage of qttest_p4.prf 2011-10-25 08:42:23 +02:00
.gitignore Moved dbus autotests into new directory structure 2011-09-01 09:37:08 +02:00
common.h Align QVariant::UserType and QMetaType::User 2012-02-07 08:52:32 +01:00
qdbusmarshall.pro all remaining tests: eliminated usage of qttest_p4.prf 2011-10-25 08:42:23 +02:00
tst_qdbusmarshall.cpp Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00