1
|
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 }
|