[Qt-jambi-interest] disposing items

Aekold Helbrass helbrass at gmail.com
Thu Aug 13 11:26:34 CEST 2009


Hi All!

I noticed that there is dispose() method in QJambiObject. Tell me
please how can I determine should I use it or not? In Swing there were
no need to dispose items, you can just remove it from component tree
and it will be collected by GC. But what about Jambi objects? For
example I am keeping QFontMetrics instance, and I change it with font
change. Should I dispose old QFontMetrics before reassigning it?

Links and docs are highly appreciated. Thanx!



More information about the Qt-jambi-interest mailing list