diff cpp/qt_core/QVariant_shell.cpp @ 6:374a61671448

wrapped QRect
author eldar
date Wed, 13 May 2009 23:40:31 +0000
parents 323efbe5c2f7
children f46133029d8b
line wrap: on
line diff
--- a/cpp/qt_core/QVariant_shell.cpp	Wed May 13 19:45:58 2009 +0000
+++ b/cpp/qt_core/QVariant_shell.cpp	Wed May 13 23:40:31 2009 +0000
@@ -796,27 +796,23 @@
 }
 
 // QVariant::toRect() const
-extern "C" DLL_PUBLIC void* qtd_QVariant_toRect
+extern "C" DLL_PUBLIC QRect qtd_QVariant_toRect
 (void* __this_nativeId)
 {
     QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId;
     QRect  __qt_return_value = __qt_this->toRect();
 
-    void* __java_return_value = (void*) new QRect(__qt_return_value);
-
-    return __java_return_value;
+    return __qt_return_value;
 }
 
 // QVariant::toRectF() const
-extern "C" DLL_PUBLIC void* qtd_QVariant_toRectF
+extern "C" DLL_PUBLIC QRectF qtd_QVariant_toRectF
 (void* __this_nativeId)
 {
     QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId;
     QRectF  __qt_return_value = __qt_this->toRectF();
 
-    void* __java_return_value = (void*) new QRectF(__qt_return_value);
-
-    return __java_return_value;
+    return __qt_return_value;
 }
 
 // QVariant::toRegExp() const