Mercurial > projects > qtd
annotate cpp/qt_core/QRect_shell.cpp @ 386:7dddafad5a20
shared stor fix
author | Max Samukha <maxter@spambox.com> |
---|---|
date | Mon, 19 Jul 2010 13:29:57 +0300 |
parents | d2f48c4cb3e3 |
children |
rev | line source |
---|---|
8 | 1 #include <qdatastream.h> |
2 #include <qrect.h> | |
3 | |
4 #include "qtd_core.h" | |
5 | |
6 // QRect::contains(const QPoint & p, bool proper) const | |
384
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
357
diff
changeset
|
7 QTD_EXTERN QTD_EXPORT bool qtd_QRect_contains_QPoint_bool |
8 | 8 (void* __this_nativeId, |
9 void* p0, | |
10 bool proper1) | |
11 { | |
12 QRect *__qt_this = (QRect *) __this_nativeId; | |
13 const QPoint& __qt_p0 = (const QPoint& ) *(QPoint *)p0; | |
14 bool __qt_return_value = __qt_this->contains((const QPoint& )p0, (bool )proper1); | |
15 | |
16 bool __d_return_value = __qt_return_value; | |
17 | |
18 return __d_return_value; | |
19 } | |
20 | |
21 // QRect::contains(const QRect & r, bool proper) const | |
384
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
357
diff
changeset
|
22 QTD_EXTERN QTD_EXPORT bool qtd_QRect_contains_QRect_bool |
8 | 23 (void* __this_nativeId, |
24 void* r0, | |
25 bool proper1) | |
26 { | |
27 const QRect& __qt_r0 = (const QRect& ) *(QRect *)r0; | |
28 QRect *__qt_this = (QRect *) __this_nativeId; | |
29 bool __qt_return_value = __qt_this->contains((const QRect& )__qt_r0, (bool )proper1); | |
30 | |
31 bool __d_return_value = __qt_return_value; | |
32 | |
33 return __d_return_value; | |
34 } | |
35 | |
36 // QRect::intersects(const QRect & r) const | |
384
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
357
diff
changeset
|
37 QTD_EXTERN QTD_EXPORT bool qtd_QRect_intersects_QRect |
8 | 38 (void* __this_nativeId, |
39 void* r0) | |
40 { | |
41 const QRect& __qt_r0 = (const QRect& ) *(QRect *)r0; | |
42 QRect *__qt_this = (QRect *) __this_nativeId; | |
43 bool __qt_return_value = __qt_this->intersects((const QRect& )__qt_r0); | |
44 | |
45 bool __d_return_value = __qt_return_value; | |
46 | |
47 return __d_return_value; | |
48 } | |
49 | |
50 // QRect::normalized() const | |
384
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
357
diff
changeset
|
51 QTD_EXTERN QTD_EXPORT QRect qtd_QRect_normalized |
8 | 52 (void* __this_nativeId) |
53 { | |
54 QRect *__qt_this = (QRect *) __this_nativeId; | |
55 return __qt_this->normalized(); | |
56 } | |
57 | |
58 // QRect::operator&(const QRect & r) const | |
384
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
357
diff
changeset
|
59 QTD_EXTERN QTD_EXPORT QRect qtd_QRect_operator_and_QRect |
8 | 60 (void* __this_nativeId, |
61 void* r0) | |
62 { | |
63 const QRect& __qt_r0 = (const QRect& ) *(QRect *)r0; | |
64 QRect *__qt_this = (QRect *) __this_nativeId; | |
65 return __qt_this->operator&((const QRect& )__qt_r0); | |
66 } | |
67 | |
68 // QRect::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
|
69 QTD_EXTERN QTD_EXPORT void qtd_QRect_writeTo_QDataStream |
8 | 70 (void* __this_nativeId, |
71 void* arg__1) | |
72 { | |
73 QDataStream& __qt_arg__1 = (QDataStream& ) * (QDataStream *) arg__1; | |
74 QRect *__qt_this = (QRect *) __this_nativeId; | |
75 if (__qt_this != 0) ::operator<<((QDataStream& )__qt_arg__1, *__qt_this); | |
76 | |
77 } | |
78 | |
79 // QRect::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
|
80 QTD_EXTERN QTD_EXPORT void qtd_QRect_readFrom_QDataStream |
8 | 81 (void* __this_nativeId, |
82 void* arg__1) | |
83 { | |
84 QDataStream& __qt_arg__1 = (QDataStream& ) * (QDataStream *) arg__1; | |
85 QRect *__qt_this = (QRect *) __this_nativeId; | |
86 if (__qt_this != 0) ::operator>>((QDataStream& )__qt_arg__1, *__qt_this); | |
87 | |
88 } | |
89 | |
90 // QRect::operator|(const QRect & r) const | |
384
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
357
diff
changeset
|
91 QTD_EXTERN QTD_EXPORT QRect qtd_QRect_operator_or_QRect |
8 | 92 (void* __this_nativeId, |
93 void* r0) | |
94 { | |
95 const QRect& __qt_r0 = (const QRect& ) *(QRect *)r0; | |
96 QRect *__qt_this = (QRect *) __this_nativeId; | |
97 return __qt_this->operator|((const QRect& )__qt_r0); | |
98 } |