Mercurial > projects > qtd
view cpp/qt_core/QSizeF_shell.cpp @ 248:7664de4a55e5
Fixed #23.
QtD_QObjectEntity is not created dynamically for shell classes any more.
Class initialization is now performed by static constructors.
When wrapping QObjects returned from functions, their run-time types are now taken into account.
QObjects are allocated on GC heap, a doubly-linked list is used to prevent them from been collected (arguably a better solution than allocating on C heap and adding GC ranges)
Minor changes (including unnecessary).
author | maxter |
---|---|
date | Thu, 20 Aug 2009 14:47:17 +0000 |
parents | e78566595089 |
children | 9784459f0750 |
line wrap: on
line source
#include <qdatastream.h> #include <qsize.h> #include "qtd_core.h" // QSizeF::operator<<(QDataStream & arg__1) extern "C" DLL_PUBLIC void __qtd_QSizeF_writeTo_QDataStream (void* __this_nativeId, void* arg__1) { QDataStream& __qt_arg__1 = (QDataStream& ) * (QDataStream *) arg__1; QSizeF *__qt_this = (QSizeF *) __this_nativeId; if (__qt_this != 0) ::operator<<((QDataStream& )__qt_arg__1, *__qt_this); } // QSizeF::operator>>(QDataStream & arg__1) extern "C" DLL_PUBLIC void __qtd_QSizeF_readFrom_QDataStream (void* __this_nativeId, void* arg__1) { QDataStream& __qt_arg__1 = (QDataStream& ) * (QDataStream *) arg__1; QSizeF *__qt_this = (QSizeF *) __this_nativeId; if (__qt_this != 0) ::operator>>((QDataStream& )__qt_arg__1, *__qt_this); } // QSizeF::scale(const QSizeF & s, Qt::AspectRatioMode mode) extern "C" DLL_PUBLIC void __qtd_QSizeF_scale_QSizeF_AspectRatioMode (void* __this_nativeId, void* s0, int mode1) { const QSizeF& __qt_s0 = (const QSizeF& ) *(QSizeF *)s0; Qt::AspectRatioMode __qt_mode1 = (Qt::AspectRatioMode) mode1; QSizeF *__qt_this = (QSizeF *) __this_nativeId; __qt_this->scale((const QSizeF& )__qt_s0, (Qt::AspectRatioMode )__qt_mode1); }