Add a changes file entry for QMetaType QObject related change.
Change-Id: I2f902ffe6b18034047114626dd4cbe9d2f96c2fc Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
This commit is contained in:
parent
d3a8b7db50
commit
f6c58d242a
4
dist/changes-5.0.0
vendored
4
dist/changes-5.0.0
vendored
@ -62,6 +62,10 @@ information about a particular change.
|
||||
- QMetaType:
|
||||
* QMetaType::construct() has been renamed to QMetaType::create().
|
||||
* QMetaType::unregisterType() has been removed.
|
||||
* QMetaType now records if the type argument inherits QObject. This
|
||||
can be used in scripting APIs, so that custom QObject subclasses
|
||||
are treated as QObject pointers. In QtScript for example, this can
|
||||
mean that QScriptValue.isQObject can be true where it was false before.
|
||||
* QMetaType::QWidgetStar has been removed. Use qMetaTypeId<QWidget*>()
|
||||
or QVariant::canConvert<QWidget*>() as appropriate.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user