Mercurial > projects > qtd
comparison generator/typesystem_gui.xml @ 384:d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
author | Max Samukha <maxter@spambox.com> |
---|---|
date | Fri, 16 Jul 2010 20:04:29 +0300 |
parents | 1f189d0ceab4 |
children | bb0c0bbca312 |
comparison
equal
deleted
inserted
replaced
383:bd7f485e3573 | 384:d2f48c4cb3e3 |
---|---|
17 void* arg__1); | 17 void* arg__1); |
18 </template> | 18 </template> |
19 | 19 |
20 <template name="gui.class_from_variant_native"> | 20 <template name="gui.class_from_variant_native"> |
21 // %CLASS_NAME from QVariant | 21 // %CLASS_NAME from QVariant |
22 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_%CLASS_NAME_%CLASS_NAME_QVariant | 22 QTD_EXTERN QTD_EXPORT void* qtd_%CLASS_NAME_%CLASS_NAME_QVariant |
23 (void *d_ptr, | 23 (void *d_ptr, |
24 void* arg__1) | 24 void* arg__1) |
25 { | 25 { |
26 const QVariant& __qt_arg__1 = (const QVariant& ) *(QVariant *)arg__1; | 26 const QVariant& __qt_arg__1 = (const QVariant& ) *(QVariant *)arg__1; |
27 %CLASS_NAME __qt_casted = qvariant_cast<%CLASS_NAME>(__qt_arg__1); | 27 %CLASS_NAME __qt_casted = qvariant_cast<%CLASS_NAME>(__qt_arg__1); |
30 } | 30 } |
31 </template> | 31 </template> |
32 | 32 |
33 <template name="gui.class_from_variant_native_shell"> | 33 <template name="gui.class_from_variant_native_shell"> |
34 // %CLASS_NAME from QVariant | 34 // %CLASS_NAME from QVariant |
35 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_%CLASS_NAME_%CLASS_NAME_QVariant | 35 QTD_EXTERN QTD_EXPORT void* qtd_%CLASS_NAME_%CLASS_NAME_QVariant |
36 (void *d_ptr, | 36 (void *d_ptr, |
37 void* arg__1) | 37 void* arg__1) |
38 { | 38 { |
39 const QVariant& __qt_arg__1 = (const QVariant& ) *(QVariant *)arg__1; | 39 const QVariant& __qt_arg__1 = (const QVariant& ) *(QVariant *)arg__1; |
40 %CLASS_NAME __qt_casted = qvariant_cast<%CLASS_NAME>(__qt_arg__1); | 40 %CLASS_NAME __qt_casted = qvariant_cast<%CLASS_NAME>(__qt_arg__1); |
1154 int n1, | 1154 int n1, |
1155 QPoint t2); | 1155 QPoint t2); |
1156 </inject-code> | 1156 </inject-code> |
1157 <inject-code class="native"> | 1157 <inject-code class="native"> |
1158 // QPolygon::insert(int i, const QPoint & t) | 1158 // QPolygon::insert(int i, const QPoint & t) |
1159 QTD_EXTERN QTD_DLL_PUBLIC void qtd_QPolygon_insert_int_QPoint | 1159 QTD_EXTERN QTD_EXPORT void qtd_QPolygon_insert_int_QPoint |
1160 (void* __this_nativeId, | 1160 (void* __this_nativeId, |
1161 int i0, | 1161 int i0, |
1162 QPoint t1) | 1162 QPoint t1) |
1163 { | 1163 { |
1164 QPolygon *__qt_this = (QPolygon *) __this_nativeId; | 1164 QPolygon *__qt_this = (QPolygon *) __this_nativeId; |
1165 __qt_this->insert((int )i0, (const QPoint& )t1); | 1165 __qt_this->insert((int )i0, (const QPoint& )t1); |
1166 | 1166 |
1167 } | 1167 } |
1168 | 1168 |
1169 // QPolygon::insert(int i, int n, const QPoint & t) | 1169 // QPolygon::insert(int i, int n, const QPoint & t) |
1170 QTD_EXTERN QTD_DLL_PUBLIC void qtd_QPolygon_insert_int_int_QPoint | 1170 QTD_EXTERN QTD_EXPORT void qtd_QPolygon_insert_int_int_QPoint |
1171 (void* __this_nativeId, | 1171 (void* __this_nativeId, |
1172 int i0, | 1172 int i0, |
1173 int n1, | 1173 int n1, |
1174 QPoint t2) | 1174 QPoint t2) |
1175 { | 1175 { |
1239 int n1, | 1239 int n1, |
1240 QPointF t2); | 1240 QPointF t2); |
1241 </inject-code> | 1241 </inject-code> |
1242 <inject-code class="native"> | 1242 <inject-code class="native"> |
1243 // QPolygonF::insert(int i, const QPointF & t) | 1243 // QPolygonF::insert(int i, const QPointF & t) |
1244 QTD_EXTERN QTD_DLL_PUBLIC void qtd_QPolygonF_insert_int_QPointF | 1244 QTD_EXTERN QTD_EXPORT void qtd_QPolygonF_insert_int_QPointF |
1245 (void* __this_nativeId, | 1245 (void* __this_nativeId, |
1246 int i0, | 1246 int i0, |
1247 QPointF t1) | 1247 QPointF t1) |
1248 { | 1248 { |
1249 QPolygonF *__qt_this = (QPolygonF *) __this_nativeId; | 1249 QPolygonF *__qt_this = (QPolygonF *) __this_nativeId; |
1250 __qt_this->insert((int )i0, (const QPointF& )t1); | 1250 __qt_this->insert((int )i0, (const QPointF& )t1); |
1251 | 1251 |
1252 } | 1252 } |
1253 | 1253 |
1254 // QPolygonF::insert(int i, int n, const QPointF & t) | 1254 // QPolygonF::insert(int i, int n, const QPointF & t) |
1255 QTD_EXTERN QTD_DLL_PUBLIC void qtd_QPolygonF_insert_int_int_QPointF | 1255 QTD_EXTERN QTD_EXPORT void qtd_QPolygonF_insert_int_int_QPointF |
1256 (void* __this_nativeId, | 1256 (void* __this_nativeId, |
1257 int i0, | 1257 int i0, |
1258 int n1, | 1258 int n1, |
1259 QPointF t2) | 1259 QPointF t2) |
1260 { | 1260 { |