comparison cpp/qt_core/QString_shell.cpp @ 1:e78566595089

initial import
author mandel
date Mon, 11 May 2009 16:01:50 +0000
parents
children 7dd099050621
comparison
equal deleted inserted replaced
0:36fb74dc547d 1:e78566595089
1 #include <QString>
2 #include "qtd_core.h"
3
4 extern "C" DLL_PUBLIC const ushort* __qtd_QString_utf16
5 (void* __this_nativeId)
6 {
7 QString *__qt_this = (QString *) __this_nativeId;
8 return __qt_this->utf16();
9 }
10
11 extern "C" DLL_PUBLIC int __qtd_QString_size
12 (void* __this_nativeId)
13 {
14 QString *__qt_this = (QString *) __this_nativeId;
15 return __qt_this->size();
16 }
17
18 extern "C" DLL_PUBLIC void __qtd_QString_operatorAssign
19 (void* __this_nativeId,
20 char* text, uint text_size)
21 {
22 QString *__qt_this = (QString *) __this_nativeId;
23 *__qt_this = QString::fromUtf8(text, text_size);
24 }