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
|
|
7 extern "C" DLL_PUBLIC bool qtd_QRect_contains_QPoint_bool
|
|
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
|
|
22 extern "C" DLL_PUBLIC bool qtd_QRect_contains_QRect_bool
|
|
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
|
|
37 extern "C" DLL_PUBLIC bool qtd_QRect_intersects_QRect
|
|
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
|
|
51 extern "C" DLL_PUBLIC QRect qtd_QRect_normalized
|
|
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
|
|
59 extern "C" DLL_PUBLIC QRect qtd_QRect_operator_and_QRect
|
|
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)
|
|
69 extern "C" DLL_PUBLIC void qtd_QRect_writeTo_QDataStream
|
|
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)
|
|
80 extern "C" DLL_PUBLIC void qtd_QRect_readFrom_QDataStream
|
|
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
|
|
91 extern "C" DLL_PUBLIC QRect qtd_QRect_operator_or_QRect
|
|
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 }
|