qt5base-lts/tests/auto/corelib
Jędrzej Nowacki b8cf1d6bdc Remove QMetaType::unregisterType().
The function hasn't been working properly. It was not well tested, for
example it is undefined how QVariant should behave if it contains an
instance of an unregistered type.

Concept of unregistering types was inspired by plug-in system, but in
most supported platforms we do not unload plug-ins.

Idea of type unregistering may block optimizations in meta object
system, because it would be not possible to cache a type id.
QMetaType::type() could return different ids for the same name.

Currently QMetaType::unregisterType() is not used in Qt.

Change-Id: I878b6e8d91de99f9bcefeab73af2e2ba0bd0cba0
Reviewed-by: Prasanth Ullattil <prasanth.ullattil@nokia.com>
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
2012-02-07 08:53:18 +01:00
..
animation Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
codecs Move QtConcurrent into its own module 2012-02-05 17:49:16 +01:00
global QtDebug: Include file, line, function information 2012-02-01 02:16:32 +01:00
io Fix QTextStream and QDebug operator<< for QLatin1String 2012-02-02 11:10:04 +01:00
itemmodels tst_qabstractitemmodel does not need QT += widgets 2012-01-31 04:55:47 +01:00
json Update contact address in license headers. 2012-01-31 04:54:56 +01:00
kernel Remove QMetaType::unregisterType(). 2012-02-07 08:53:18 +01:00
plugin Changed qlibrary unittest to use applicationDirPath() 2012-01-31 04:55:35 +01:00
statemachine Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
thread Move QtConcurrent into its own module 2012-02-05 17:49:16 +01:00
tools SIC: QLocale: Make QSystemLocale a private class 2012-02-05 17:50:04 +01:00
xml Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
corelib.pro Move QtConcurrent into its own module 2012-02-05 17:49:16 +01:00