diff cpp/qt_core/QVariant_shell.cpp @ 3:323efbe5c2f7

native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
author eldar
date Wed, 13 May 2009 17:34:40 +0000
parents e78566595089
children 374a61671448
line wrap: on
line diff
--- a/cpp/qt_core/QVariant_shell.cpp	Wed May 13 01:20:34 2009 +0000
+++ b/cpp/qt_core/QVariant_shell.cpp	Wed May 13 17:34:40 2009 +0000
@@ -732,27 +732,19 @@
 }
 
 // QVariant::toLine() const
-extern "C" DLL_PUBLIC void* qtd_QVariant_toLine
+extern "C" DLL_PUBLIC QLine qtd_QVariant_toLine
 (void* __this_nativeId)
 {
     QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId;
-    QLine  __qt_return_value = __qt_this->toLine();
-
-    void* __java_return_value = (void*) new QLine(__qt_return_value);
-
-    return __java_return_value;
+    return __qt_this->toLine();
 }
 
 // QVariant::toLineF() const
-extern "C" DLL_PUBLIC void* qtd_QVariant_toLineF
+extern "C" DLL_PUBLIC QLineF qtd_QVariant_toLineF
 (void* __this_nativeId)
 {
     QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId;
-    QLineF  __qt_return_value = __qt_this->toLineF();
-
-    void* __java_return_value = (void*) new QLineF(__qt_return_value);
-
-    return __java_return_value;
+    return __qt_this->toLineF();
 }
 
 // QVariant::toList() const