Mercurial > projects > qtd
diff cpp/qt_core/QVariant_shell.cpp @ 248:7664de4a55e5
Fixed #23.
QtD_QObjectEntity is not created dynamically for shell classes any more.
Class initialization is now performed by static constructors.
When wrapping QObjects returned from functions, their run-time types are now taken into account.
QObjects are allocated on GC heap, a doubly-linked list is used to prevent them from been collected (arguably a better solution than allocating on C heap and adding GC ranges)
Minor changes (including unnecessary).
author | maxter |
---|---|
date | Thu, 20 Aug 2009 14:47:17 +0000 |
parents | 7dd099050621 |
children | 37eed70de029 |
line wrap: on
line diff
--- a/cpp/qt_core/QVariant_shell.cpp Fri Jul 31 11:05:22 2009 +0000 +++ b/cpp/qt_core/QVariant_shell.cpp Thu Aug 20 14:47:17 2009 +0000 @@ -857,7 +857,7 @@ QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; QString __qt_return_value = __qt_this->toString(); - _d_toUtf8(__qt_return_value.utf16(), __qt_return_value.size(), __java_return_value); + qtd_toUtf8(__qt_return_value.utf16(), __qt_return_value.size(), __java_return_value); }