Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.2.0, 5.3.0
-
None
-
cf93acbee66db96a6f7fab8607432b70ec5c0437 (qtdeclarative)
Description
The following snippet exposes the intentionally hidden methods deleteLater and destroyed (though typeof === "undefined" for them) starting with Qt 5.2:
import QtQuick 2.0 QtObject { id: myObj Component.onCompleted: console.log(Object.keys(myObj)) }
Prior to Qt 5.2 this produced:
[objectName,onObjectNameChanged,objectNameChanged]
Now it produces:
[objectName,destroyed,destroyed,objectNameChanged,deleteLater,_q_reregisterTimers]
Attachments
For Gerrit Dashboard: QTBUG-39744 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
88164,3 | Exclude private methods and QObject::deleteLater from enumerable properties | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |