diff cpp/qt_core/QString_shell.cpp @ 302:55ee4603365d signals

string arguments for signals
author eldar_ins@eldar-laptop
date Sat, 12 Dec 2009 03:22:54 +0500
parents 5173835bb372
children 9784459f0750
line wrap: on
line diff
--- a/cpp/qt_core/QString_shell.cpp	Tue Dec 08 21:13:24 2009 +0000
+++ b/cpp/qt_core/QString_shell.cpp	Sat Dec 12 03:22:54 2009 +0500
@@ -55,3 +55,13 @@
     QString *result = new (place)QString((const QString& )__qt_string0);
     return (void *) result;
 }
+
+extern "C" DLL_PUBLIC void qtd_QString_placed_ctor(void* place) {
+    new (place) QString();
+}
+
+extern "C" DLL_PUBLIC void qtd_QString_assign_fromUtf8
+(QString *__qt_this, DArray text)
+{
+    *__qt_this = QString::fromUtf8((const char *)text.ptr, text.length);
+}
\ No newline at end of file