qt5base-lts/tests/auto/corelib/kernel
Kent Hansen 00c8984b4e moc: Use QMetaType::QVariant as the type for QVariant
QMetaType::QVariant has existed as a proper type for almost two
years, but the qvariant_nameToType function was written in 2006.

Using QMetaType::QVariant means QVariant can be treated just like
any other type. We can get rid of those hacky checks for LastType,
and the remaining checks become more readable.

The fact that QMetaProperty::{type,userType}() returned LastType
(0xffffffff) for QVariants was never documented (LastType itself is
internal). But there are other Qt modules that assume so. I'll fix
the ones I know about (qtdeclarative, qtscript, activeqt).

Change-Id: I799b9079bb8bbb1fe76c132525440b30415cbac5
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
2012-01-25 08:46:40 +01:00
..
qcoreapplication Update contact information in license headers. 2012-01-23 04:04:33 +01:00
qeventloop Update contact information in license headers. 2012-01-23 04:04:33 +01:00
qmath Update contact information in license headers. 2012-01-23 04:04:33 +01:00
qmetaobject Update contact information in license headers. 2012-01-23 04:04:33 +01:00
qmetaobjectbuilder moc: Use QMetaType::QVariant as the type for QVariant 2012-01-25 08:46:40 +01:00
qmetaproperty Update contact information in license headers. 2012-01-23 04:04:33 +01:00
qmetatype Store the is-a QObject fact with the metatype declaration. 2012-01-24 15:27:25 +01:00
qmimedata Update contact information in license headers. 2012-01-23 04:04:33 +01:00
qobject moc: Use QMetaType::QVariant as the type for QVariant 2012-01-25 08:46:40 +01:00
qpointer Update contact information in license headers. 2012-01-23 04:04:33 +01:00
qsignalmapper Update contact information in license headers. 2012-01-23 04:04:33 +01:00
qsocketnotifier Update contact information in license headers. 2012-01-23 04:04:33 +01:00
qtimer Update contact information in license headers. 2012-01-23 04:04:33 +01:00
qtranslator Update contact information in license headers. 2012-01-23 04:04:33 +01:00
qvariant Store the is-a QObject fact with the metatype declaration. 2012-01-24 15:27:25 +01:00
qwineventnotifier Update contact information in license headers. 2012-01-23 04:04:33 +01:00
kernel.pro Add missing subdirectory to kernel.pro file. 2012-01-10 01:25:45 +01:00