diff cpp/qt_core/QString_shell.cpp @ 188:7dd099050621

initial commit for D2 support
author eldar
date Sun, 12 Jul 2009 18:58:03 +0000
parents e78566595089
children 5173835bb372
line wrap: on
line diff
--- a/cpp/qt_core/QString_shell.cpp	Sat Jul 11 11:17:44 2009 +0000
+++ b/cpp/qt_core/QString_shell.cpp	Sun Jul 12 18:58:03 2009 +0000
@@ -17,8 +17,8 @@
 
 extern "C" DLL_PUBLIC void __qtd_QString_operatorAssign
 (void* __this_nativeId,
- char* text, uint text_size)
+ DArray text)
 {
     QString *__qt_this = (QString *) __this_nativeId;
-    *__qt_this = QString::fromUtf8(text, text_size);
+    *__qt_this = QString::fromUtf8((const char *)text.ptr, text.length);
 }