summaryrefslogtreecommitdiffstats
path: root/dist/changes-5.0.0
diff options
context:
space:
mode:
authorJędrzej Nowacki <jedrzej.nowacki@nokia.com>2012-02-03 12:54:25 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-07 08:53:18 +0100
commitb8cf1d6bdcaefaa610014a742808af3ab2c6fe06 (patch)
tree39d3acf1f3469b52024dff2cc159f7fe90ad9637 /dist/changes-5.0.0
parent56265031b763736163f1a229a7e7e6b7aaec8a36 (diff)
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>
Diffstat (limited to 'dist/changes-5.0.0')
-rw-r--r--dist/changes-5.0.04
1 files changed, 3 insertions, 1 deletions
diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0
index 280b5d93f9..617b2d3d95 100644
--- a/dist/changes-5.0.0
+++ b/dist/changes-5.0.0
@@ -45,7 +45,9 @@ information about a particular change.
in Qt4, so these methods return a bool now. If your code used the undocumented
QBool, simply replace it with bool.
-- QMetaType::construct() has been renamed to QMetaType::create().
+- QMetaType:
+ * QMetaType::construct() has been renamed to QMetaType::create().
+ * QMetaType::unregisterType() has been removed.
- QTestLib:
* The QTRY_VERIFY and QTRY_COMPARE macros have been moved into QTestLib.