Mercurial > projects > qtd
comparison generator/typesystem_core.xml @ 183:d3f4f14d43a5
fixes with QObjects
author | eldar |
---|---|
date | Fri, 03 Jul 2009 20:53:07 +0000 |
parents | 39921f499a22 |
children | 7dd099050621 |
comparison
equal
deleted
inserted
replaced
182:973564c7e388 | 183:d3f4f14d43a5 |
---|---|
2389 </modify-function> | 2389 </modify-function> |
2390 <modify-function signature="setParent(QObject*)"> | 2390 <modify-function signature="setParent(QObject*)"> |
2391 <modify-argument index="1"> | 2391 <modify-argument index="1"> |
2392 <reference-count action="ignore"/> | 2392 <reference-count action="ignore"/> |
2393 </modify-argument> | 2393 </modify-argument> |
2394 <inject-code class="java" position="beginning"> | 2394 <!-- <inject-code class="java" position="beginning"> |
2395 <argument-map index="1" meta-name="%1"/> | 2395 <argument-map index="1" meta-name="%1"/> |
2396 if (%1 is null && !__gc_managed) { | 2396 if (%1 is null && !__gc_managed) { |
2397 remove(__gc_ref_list, this); | 2397 remove(__gc_ref_list, this); |
2398 __gc_managed = true; | 2398 __gc_managed = true; |
2399 } else if (%1 !is null && __gc_managed) { | 2399 } else if (%1 !is null && __gc_managed) { |
2400 __gc_ref_list ~= this; | 2400 __gc_ref_list ~= this; |
2401 __gc_managed = false; | 2401 __gc_managed = false; |
2402 } | 2402 } |
2403 </inject-code> | 2403 </inject-code> --> |
2404 </modify-function> | 2404 </modify-function> |
2405 | 2405 |
2406 <modify-function signature="deleteLater()"> | 2406 <modify-function signature="deleteLater()"> |
2407 <rename to="disposeLater"/> | 2407 <rename to="disposeLater"/> |
2408 </modify-function> | 2408 </modify-function> |