Mercurial > projects > qtd
view cpp/qt_core/QString_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 | 7dd099050621 |
line wrap: on
line source
#include <QString> #include "qtd_core.h" extern "C" DLL_PUBLIC const ushort* __qtd_QString_utf16 (void* __this_nativeId) { QString *__qt_this = (QString *) __this_nativeId; return __qt_this->utf16(); } extern "C" DLL_PUBLIC int __qtd_QString_size (void* __this_nativeId) { QString *__qt_this = (QString *) __this_nativeId; return __qt_this->size(); } extern "C" DLL_PUBLIC void __qtd_QString_operatorAssign (void* __this_nativeId, char* text, uint text_size) { QString *__qt_this = (QString *) __this_nativeId; *__qt_this = QString::fromUtf8(text, text_size); }