Debian Codegraph @

tests/auto/qml/qqmlqt/data/LaterComponent4.qml

raw
1 import QtQuick 2.0
2
3 Item {
4 id: deleteme4
5 function testFn() {
6 // this function shouldn't be called,
7 // since the object will have been deleted.
8 row.test13_1 = 2;
9 }
10
11 Component.onDestruction: row.test13_1 = 1; // success == the object was deleted, but testFn wasn't called.
12 }