Mercurial > projects > qtd
view cpp/qt_core/QString_shell.cpp @ 295:463563fc9e17 signals
more of QList. const functions in C++ are now const in D too. Drop of the store result feature, which was incompatible with const functions and introduced too much of the bloat in the generator.
author | eldar |
---|---|
date | Sun, 22 Nov 2009 11:01:19 +0000 |
parents | 7dd099050621 |
children | 5173835bb372 |
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, DArray text) { QString *__qt_this = (QString *) __this_nativeId; *__qt_this = QString::fromUtf8((const char *)text.ptr, text.length); }