Mercurial > projects > qtd
annotate cpp/qt_core/QSize_shell.cpp @ 357:9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Q_CLASSINFO implementation
Now Qtd can be built on Windows
author | Max Samukha <maxter@spambox.com> |
---|---|
date | Wed, 02 Jun 2010 19:38:05 +0300 |
parents | e78566595089 |
children | d2f48c4cb3e3 |
rev | line source |
---|---|
1 | 1 #include <qdatastream.h> |
2 #include <qsize.h> | |
3 #include "qtd_core.h" | |
4 | |
5 | |
6 // QSize::operator<<(QDataStream & arg__1) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
7 QTD_EXTERN QTD_DLL_PUBLIC void __qtd_QSize_writeTo_QDataStream |
1 | 8 (void* __this_nativeId, |
9 void* arg__1) | |
10 { | |
11 QDataStream& __qt_arg__1 = (QDataStream& ) * (QDataStream *) arg__1; | |
12 QSize *__qt_this = (QSize *) __this_nativeId; | |
13 if (__qt_this != 0) ::operator<<((QDataStream& )__qt_arg__1, *__qt_this); | |
14 | |
15 } | |
16 | |
17 // QSize::operator>>(QDataStream & arg__1) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
18 QTD_EXTERN QTD_DLL_PUBLIC void __qtd_QSize_readFrom_QDataStream |
1 | 19 (void* __this_nativeId, |
20 void* arg__1) | |
21 { | |
22 QDataStream& __qt_arg__1 = (QDataStream& ) * (QDataStream *) arg__1; | |
23 QSize *__qt_this = (QSize *) __this_nativeId; | |
24 if (__qt_this != 0) ::operator>>((QDataStream& )__qt_arg__1, *__qt_this); | |
25 | |
26 } | |
27 | |
28 // QSize::scale(const QSize & s, Qt::AspectRatioMode mode) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
1
diff
changeset
|
29 QTD_EXTERN QTD_DLL_PUBLIC void __qtd_QSize_scale_QSize_AspectRatioMode |
1 | 30 (void* __this_nativeId, |
31 void* s0, | |
32 int mode1) | |
33 { | |
34 const QSize& __qt_s0 = (const QSize& ) *(QSize *)s0; | |
35 Qt::AspectRatioMode __qt_mode1 = (Qt::AspectRatioMode) mode1; | |
36 QSize *__qt_this = (QSize *) __this_nativeId; | |
37 __qt_this->scale((const QSize& )__qt_s0, (Qt::AspectRatioMode )__qt_mode1); | |
38 | |
39 } |