Mercurial > projects > qtd
comparison cpp/qt_core/QRect_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 | c0c94c0066fa |
children | d2f48c4cb3e3 |
comparison
equal
deleted
inserted
replaced
356:12cec2d14e1c | 357:9784459f0750 |
---|---|
2 #include <qrect.h> | 2 #include <qrect.h> |
3 | 3 |
4 #include "qtd_core.h" | 4 #include "qtd_core.h" |
5 | 5 |
6 // QRect::contains(const QPoint & p, bool proper) const | 6 // QRect::contains(const QPoint & p, bool proper) const |
7 extern "C" DLL_PUBLIC bool qtd_QRect_contains_QPoint_bool | 7 QTD_EXTERN QTD_DLL_PUBLIC bool qtd_QRect_contains_QPoint_bool |
8 (void* __this_nativeId, | 8 (void* __this_nativeId, |
9 void* p0, | 9 void* p0, |
10 bool proper1) | 10 bool proper1) |
11 { | 11 { |
12 QRect *__qt_this = (QRect *) __this_nativeId; | 12 QRect *__qt_this = (QRect *) __this_nativeId; |
17 | 17 |
18 return __d_return_value; | 18 return __d_return_value; |
19 } | 19 } |
20 | 20 |
21 // QRect::contains(const QRect & r, bool proper) const | 21 // QRect::contains(const QRect & r, bool proper) const |
22 extern "C" DLL_PUBLIC bool qtd_QRect_contains_QRect_bool | 22 QTD_EXTERN QTD_DLL_PUBLIC bool qtd_QRect_contains_QRect_bool |
23 (void* __this_nativeId, | 23 (void* __this_nativeId, |
24 void* r0, | 24 void* r0, |
25 bool proper1) | 25 bool proper1) |
26 { | 26 { |
27 const QRect& __qt_r0 = (const QRect& ) *(QRect *)r0; | 27 const QRect& __qt_r0 = (const QRect& ) *(QRect *)r0; |
32 | 32 |
33 return __d_return_value; | 33 return __d_return_value; |
34 } | 34 } |
35 | 35 |
36 // QRect::intersects(const QRect & r) const | 36 // QRect::intersects(const QRect & r) const |
37 extern "C" DLL_PUBLIC bool qtd_QRect_intersects_QRect | 37 QTD_EXTERN QTD_DLL_PUBLIC bool qtd_QRect_intersects_QRect |
38 (void* __this_nativeId, | 38 (void* __this_nativeId, |
39 void* r0) | 39 void* r0) |
40 { | 40 { |
41 const QRect& __qt_r0 = (const QRect& ) *(QRect *)r0; | 41 const QRect& __qt_r0 = (const QRect& ) *(QRect *)r0; |
42 QRect *__qt_this = (QRect *) __this_nativeId; | 42 QRect *__qt_this = (QRect *) __this_nativeId; |
46 | 46 |
47 return __d_return_value; | 47 return __d_return_value; |
48 } | 48 } |
49 | 49 |
50 // QRect::normalized() const | 50 // QRect::normalized() const |
51 extern "C" DLL_PUBLIC QRect qtd_QRect_normalized | 51 QTD_EXTERN QTD_DLL_PUBLIC QRect qtd_QRect_normalized |
52 (void* __this_nativeId) | 52 (void* __this_nativeId) |
53 { | 53 { |
54 QRect *__qt_this = (QRect *) __this_nativeId; | 54 QRect *__qt_this = (QRect *) __this_nativeId; |
55 return __qt_this->normalized(); | 55 return __qt_this->normalized(); |
56 } | 56 } |
57 | 57 |
58 // QRect::operator&(const QRect & r) const | 58 // QRect::operator&(const QRect & r) const |
59 extern "C" DLL_PUBLIC QRect qtd_QRect_operator_and_QRect | 59 QTD_EXTERN QTD_DLL_PUBLIC QRect qtd_QRect_operator_and_QRect |
60 (void* __this_nativeId, | 60 (void* __this_nativeId, |
61 void* r0) | 61 void* r0) |
62 { | 62 { |
63 const QRect& __qt_r0 = (const QRect& ) *(QRect *)r0; | 63 const QRect& __qt_r0 = (const QRect& ) *(QRect *)r0; |
64 QRect *__qt_this = (QRect *) __this_nativeId; | 64 QRect *__qt_this = (QRect *) __this_nativeId; |
65 return __qt_this->operator&((const QRect& )__qt_r0); | 65 return __qt_this->operator&((const QRect& )__qt_r0); |
66 } | 66 } |
67 | 67 |
68 // QRect::operator<<(QDataStream & arg__1) | 68 // QRect::operator<<(QDataStream & arg__1) |
69 extern "C" DLL_PUBLIC void qtd_QRect_writeTo_QDataStream | 69 QTD_EXTERN QTD_DLL_PUBLIC void qtd_QRect_writeTo_QDataStream |
70 (void* __this_nativeId, | 70 (void* __this_nativeId, |
71 void* arg__1) | 71 void* arg__1) |
72 { | 72 { |
73 QDataStream& __qt_arg__1 = (QDataStream& ) * (QDataStream *) arg__1; | 73 QDataStream& __qt_arg__1 = (QDataStream& ) * (QDataStream *) arg__1; |
74 QRect *__qt_this = (QRect *) __this_nativeId; | 74 QRect *__qt_this = (QRect *) __this_nativeId; |
75 if (__qt_this != 0) ::operator<<((QDataStream& )__qt_arg__1, *__qt_this); | 75 if (__qt_this != 0) ::operator<<((QDataStream& )__qt_arg__1, *__qt_this); |
76 | 76 |
77 } | 77 } |
78 | 78 |
79 // QRect::operator>>(QDataStream & arg__1) | 79 // QRect::operator>>(QDataStream & arg__1) |
80 extern "C" DLL_PUBLIC void qtd_QRect_readFrom_QDataStream | 80 QTD_EXTERN QTD_DLL_PUBLIC void qtd_QRect_readFrom_QDataStream |
81 (void* __this_nativeId, | 81 (void* __this_nativeId, |
82 void* arg__1) | 82 void* arg__1) |
83 { | 83 { |
84 QDataStream& __qt_arg__1 = (QDataStream& ) * (QDataStream *) arg__1; | 84 QDataStream& __qt_arg__1 = (QDataStream& ) * (QDataStream *) arg__1; |
85 QRect *__qt_this = (QRect *) __this_nativeId; | 85 QRect *__qt_this = (QRect *) __this_nativeId; |
86 if (__qt_this != 0) ::operator>>((QDataStream& )__qt_arg__1, *__qt_this); | 86 if (__qt_this != 0) ::operator>>((QDataStream& )__qt_arg__1, *__qt_this); |
87 | 87 |
88 } | 88 } |
89 | 89 |
90 // QRect::operator|(const QRect & r) const | 90 // QRect::operator|(const QRect & r) const |
91 extern "C" DLL_PUBLIC QRect qtd_QRect_operator_or_QRect | 91 QTD_EXTERN QTD_DLL_PUBLIC QRect qtd_QRect_operator_or_QRect |
92 (void* __this_nativeId, | 92 (void* __this_nativeId, |
93 void* r0) | 93 void* r0) |
94 { | 94 { |
95 const QRect& __qt_r0 = (const QRect& ) *(QRect *)r0; | 95 const QRect& __qt_r0 = (const QRect& ) *(QRect *)r0; |
96 QRect *__qt_this = (QRect *) __this_nativeId; | 96 QRect *__qt_this = (QRect *) __this_nativeId; |