Mercurial > projects > qtd
annotate cpp/qt_core/QSizeF_shell.cpp @ 408:ba1abf81d0e0
fix crash of the example upon exit
author | Eldar Insafutdinov |
---|---|
date | Fri, 18 Mar 2011 10:17:40 +0000 |
parents | d2f48c4cb3e3 |
children |
rev | line source |
---|---|
1 | 1 #include <qdatastream.h> |
2 #include <qsize.h> | |
3 #include "qtd_core.h" | |
4 | |
5 // QSizeF::operator<<(QDataStream & arg__1) | |
384
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
357
diff
changeset
|
6 QTD_EXTERN QTD_EXPORT void __qtd_QSizeF_writeTo_QDataStream |
1 | 7 (void* __this_nativeId, |
8 void* arg__1) | |
9 { | |
10 QDataStream& __qt_arg__1 = (QDataStream& ) * (QDataStream *) arg__1; | |
11 QSizeF *__qt_this = (QSizeF *) __this_nativeId; | |
12 if (__qt_this != 0) ::operator<<((QDataStream& )__qt_arg__1, *__qt_this); | |
13 | |
14 } | |
15 | |
16 // QSizeF::operator>>(QDataStream & arg__1) | |
384
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
357
diff
changeset
|
17 QTD_EXTERN QTD_EXPORT void __qtd_QSizeF_readFrom_QDataStream |
1 | 18 (void* __this_nativeId, |
19 void* arg__1) | |
20 { | |
21 QDataStream& __qt_arg__1 = (QDataStream& ) * (QDataStream *) arg__1; | |
22 QSizeF *__qt_this = (QSizeF *) __this_nativeId; | |
23 if (__qt_this != 0) ::operator>>((QDataStream& )__qt_arg__1, *__qt_this); | |
24 | |
25 } | |
26 | |
27 // QSizeF::scale(const QSizeF & s, Qt::AspectRatioMode mode) | |
384
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
357
diff
changeset
|
28 QTD_EXTERN QTD_EXPORT void __qtd_QSizeF_scale_QSizeF_AspectRatioMode |
1 | 29 (void* __this_nativeId, |
30 void* s0, | |
31 int mode1) | |
32 { | |
33 const QSizeF& __qt_s0 = (const QSizeF& ) *(QSizeF *)s0; | |
34 Qt::AspectRatioMode __qt_mode1 = (Qt::AspectRatioMode) mode1; | |
35 QSizeF *__qt_this = (QSizeF *) __this_nativeId; | |
36 __qt_this->scale((const QSizeF& )__qt_s0, (Qt::AspectRatioMode )__qt_mode1); | |
37 | |
38 } |