Mercurial > projects > qtd
annotate cpp/qt_core/QVariant_shell.cpp @ 370:7fd4b69378bf
move cpp part of QtD into shared libs on linux to reduce binaries size
author | Eldar Insafutdinov |
---|---|
date | Sun, 04 Jul 2010 14:17:49 +0100 |
parents | 9784459f0750 |
children | d2f48c4cb3e3 |
rev | line source |
---|---|
1 | 1 #include <QVariant> |
2 #include <qbitarray.h> | |
3 #include <qbytearray.h> | |
4 #include <qdatastream.h> | |
5 #include <qdatetime.h> | |
6 #include <qline.h> | |
7 #include <qlist.h> | |
8 #include <qlocale.h> | |
9 #include <qpoint.h> | |
10 #include <qrect.h> | |
11 #include <qregexp.h> | |
12 #include <qstringlist.h> | |
13 #include <qurl.h> | |
14 #include <qvariant.h> | |
15 | |
16 #include "QVariant_shell.h" | |
17 #include <qvariant.h> | |
18 | |
19 #include "qtd_core.h" | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
20 QTD_EXTERN QTD_DLL_PUBLIC void qtd_QVariant_destructor(void *ptr) |
1 | 21 { |
22 delete (QVariant *)ptr; | |
23 } | |
24 | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
25 QTD_EXTERN QTD_DLL_PUBLIC void qtd_QVariant_call_destructor(QVariant *ptr) |
295
463563fc9e17
more of QList. const functions in C++ are now const in D too. Drop of the store result feature, which was incompatible with const functions and introduced too much of the bloat in the generator.
eldar
parents:
254
diff
changeset
|
26 { |
463563fc9e17
more of QList. const functions in C++ are now const in D too. Drop of the store result feature, which was incompatible with const functions and introduced too much of the bloat in the generator.
eldar
parents:
254
diff
changeset
|
27 ptr->~QVariant(); |
463563fc9e17
more of QList. const functions in C++ are now const in D too. Drop of the store result feature, which was incompatible with const functions and introduced too much of the bloat in the generator.
eldar
parents:
254
diff
changeset
|
28 } |
463563fc9e17
more of QList. const functions in C++ are now const in D too. Drop of the store result feature, which was incompatible with const functions and introduced too much of the bloat in the generator.
eldar
parents:
254
diff
changeset
|
29 |
1 | 30 QVariant_QtDShell::QVariant_QtDShell() |
31 : QVariant() | |
32 { | |
33 } | |
34 | |
35 QVariant_QtDShell::QVariant_QtDShell(QDataStream& s0) | |
36 : QVariant(s0) | |
37 { | |
38 } | |
39 | |
40 QVariant_QtDShell::QVariant_QtDShell(Qt::GlobalColor color0) | |
41 : QVariant(color0) | |
42 { | |
43 } | |
44 | |
45 QVariant_QtDShell::QVariant_QtDShell(bool b0) | |
46 : QVariant(b0) | |
47 { | |
48 } | |
49 | |
50 QVariant_QtDShell::QVariant_QtDShell(const QBitArray& bitarray0) | |
51 : QVariant(bitarray0) | |
52 { | |
53 } | |
54 | |
55 QVariant_QtDShell::QVariant_QtDShell(const QByteArray& bytearray0) | |
56 : QVariant(bytearray0) | |
57 { | |
58 } | |
59 | |
60 QVariant_QtDShell::QVariant_QtDShell(const QChar& qchar0) | |
61 : QVariant(qchar0) | |
62 { | |
63 } | |
64 | |
65 QVariant_QtDShell::QVariant_QtDShell(const QDate& date0) | |
66 : QVariant(date0) | |
67 { | |
68 } | |
69 | |
70 QVariant_QtDShell::QVariant_QtDShell(const QDateTime& datetime0) | |
71 : QVariant(datetime0) | |
72 { | |
73 } | |
74 | |
75 QVariant_QtDShell::QVariant_QtDShell(const QLatin1String& string0) | |
76 : QVariant(string0) | |
77 { | |
78 } | |
79 | |
80 QVariant_QtDShell::QVariant_QtDShell(const QLine& line0) | |
81 : QVariant(line0) | |
82 { | |
83 } | |
84 | |
85 QVariant_QtDShell::QVariant_QtDShell(const QLineF& line0) | |
86 : QVariant(line0) | |
87 { | |
88 } | |
89 | |
90 QVariant_QtDShell::QVariant_QtDShell(const QList<QVariant >& list0) | |
91 : QVariant(list0) | |
92 { | |
93 } | |
94 | |
95 QVariant_QtDShell::QVariant_QtDShell(const QLocale& locale0) | |
96 : QVariant(locale0) | |
97 { | |
98 } | |
99 | |
100 QVariant_QtDShell::QVariant_QtDShell(const QMap<QString , QVariant >& map0) | |
101 : QVariant(map0) | |
102 { | |
103 } | |
104 | |
105 QVariant_QtDShell::QVariant_QtDShell(const QPoint& pt0) | |
106 : QVariant(pt0) | |
107 { | |
108 } | |
109 | |
110 QVariant_QtDShell::QVariant_QtDShell(const QPointF& pt0) | |
111 : QVariant(pt0) | |
112 { | |
113 } | |
114 | |
115 QVariant_QtDShell::QVariant_QtDShell(const QRect& rect0) | |
116 : QVariant(rect0) | |
117 { | |
118 } | |
119 | |
120 QVariant_QtDShell::QVariant_QtDShell(const QRectF& rect0) | |
121 : QVariant(rect0) | |
122 { | |
123 } | |
124 | |
125 QVariant_QtDShell::QVariant_QtDShell(const QRegExp& regExp0) | |
126 : QVariant(regExp0) | |
127 { | |
128 } | |
129 | |
130 QVariant_QtDShell::QVariant_QtDShell(const QSize& size0) | |
131 : QVariant(size0) | |
132 { | |
133 } | |
134 | |
135 QVariant_QtDShell::QVariant_QtDShell(const QSizeF& size0) | |
136 : QVariant(size0) | |
137 { | |
138 } | |
139 | |
140 QVariant_QtDShell::QVariant_QtDShell(const QString& string0) | |
141 : QVariant(string0) | |
142 { | |
143 } | |
144 | |
145 QVariant_QtDShell::QVariant_QtDShell(const QStringList& stringlist0) | |
146 : QVariant(stringlist0) | |
147 { | |
148 } | |
149 | |
150 QVariant_QtDShell::QVariant_QtDShell(const QTime& time0) | |
151 : QVariant(time0) | |
152 { | |
153 } | |
154 | |
155 QVariant_QtDShell::QVariant_QtDShell(const QUrl& url0) | |
156 : QVariant(url0) | |
157 { | |
158 } | |
159 | |
160 QVariant_QtDShell::QVariant_QtDShell(const QVariant& other0) | |
161 : QVariant(other0) | |
162 { | |
163 } | |
164 | |
165 QVariant_QtDShell::QVariant_QtDShell(const char* str0) | |
166 : QVariant(str0) | |
167 { | |
168 } | |
169 | |
170 QVariant_QtDShell::QVariant_QtDShell(double d0) | |
171 : QVariant(d0) | |
172 { | |
173 } | |
174 | |
175 QVariant_QtDShell::QVariant_QtDShell(int i0) | |
176 : QVariant(i0) | |
177 { | |
178 } | |
179 | |
180 QVariant_QtDShell::QVariant_QtDShell(int typeOrUserType0, const void* copy1) | |
181 : QVariant(typeOrUserType0, copy1) | |
182 { | |
183 } | |
184 | |
185 QVariant_QtDShell::QVariant_QtDShell(qint64 ll0) | |
186 : QVariant(ll0) | |
187 { | |
188 } | |
189 | |
190 QVariant_QtDShell::QVariant_QtDShell(uint ui0) | |
191 : QVariant(ui0) | |
192 { | |
193 } | |
194 | |
195 QVariant_QtDShell::QVariant_QtDShell(quint64 ull0) | |
196 : QVariant(ull0) | |
197 { | |
198 } | |
199 | |
200 QVariant_QtDShell::~QVariant_QtDShell() | |
201 { | |
202 } | |
203 | |
204 // Virtual overrides | |
205 // Functions in shell class | |
206 // public overrides for functions that are protected in the base class | |
207 bool QVariant_QtDShell::__public_cmp(const QVariant& other0) const | |
208 { | |
209 return QVariant::cmp((const QVariant& )other0); | |
210 } | |
211 | |
212 void QVariant_QtDShell::__public_create(int type0, const void* copy1) | |
213 { | |
214 QVariant::create((int )type0, (const void* )copy1); | |
215 } | |
216 | |
217 // Write virtual function overries used to decide on static/virtual calls | |
218 // ---externC--- | |
219 // QVariant::QVariant() | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
220 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant |
1 | 221 () |
222 { | |
223 QVariant_QtDShell *__qt_this = new QVariant_QtDShell(); | |
224 return (void *) __qt_this; | |
225 | |
226 } | |
227 | |
228 // QVariant::QVariant(QDataStream & s) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
229 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant_QDataStream |
1 | 230 (void* s0) |
231 { | |
232 QDataStream& __qt_s0 = (QDataStream& ) * (QDataStream *) s0; | |
233 QVariant_QtDShell *__qt_this = new QVariant_QtDShell((QDataStream& )__qt_s0); | |
234 return (void *) __qt_this; | |
235 | |
236 } | |
237 | |
238 // QVariant::QVariant(Qt::GlobalColor color) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
239 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant_GlobalColor |
1 | 240 (int color0) |
241 { | |
242 Qt::GlobalColor __qt_color0 = (Qt::GlobalColor) color0; | |
243 QVariant_QtDShell *__qt_this = new QVariant_QtDShell((Qt::GlobalColor )__qt_color0); | |
244 return (void *) __qt_this; | |
245 | |
246 } | |
247 | |
248 // QVariant::QVariant(bool b) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
249 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant_bool |
1 | 250 (bool b0) |
251 { | |
252 QVariant_QtDShell *__qt_this = new QVariant_QtDShell((bool )b0); | |
253 return (void *) __qt_this; | |
254 | |
255 } | |
256 | |
257 // QVariant::QVariant(const QBitArray & bitarray) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
258 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant_QBitArray |
1 | 259 (void* bitarray0) |
260 { | |
261 const QBitArray& __qt_bitarray0 = (const QBitArray& ) *(QBitArray *)bitarray0; | |
262 QVariant_QtDShell *__qt_this = new QVariant_QtDShell((const QBitArray& )__qt_bitarray0); | |
263 return (void *) __qt_this; | |
264 | |
265 } | |
266 | |
267 // QVariant::QVariant(const QByteArray & bytearray) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
268 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant_QByteArray |
1 | 269 (void* bytearray0) |
270 { | |
271 const QByteArray& __qt_bytearray0 = (const QByteArray& ) *(QByteArray *)bytearray0; | |
272 QVariant_QtDShell *__qt_this = new QVariant_QtDShell((const QByteArray& )__qt_bytearray0); | |
273 return (void *) __qt_this; | |
274 | |
275 } | |
276 | |
277 // QVariant::QVariant(const QChar & qchar) | |
278 // QVariant::QVariant(const QDate & date) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
279 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant_QDate |
1 | 280 (void* date0) |
281 { | |
282 const QDate& __qt_date0 = (const QDate& ) *(QDate *)date0; | |
283 QVariant_QtDShell *__qt_this = new QVariant_QtDShell((const QDate& )__qt_date0); | |
284 return (void *) __qt_this; | |
285 | |
286 } | |
287 | |
288 // QVariant::QVariant(const QDateTime & datetime) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
289 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant_QDateTime |
1 | 290 (void* datetime0) |
291 { | |
292 const QDateTime& __qt_datetime0 = (const QDateTime& ) *(QDateTime *)datetime0; | |
293 QVariant_QtDShell *__qt_this = new QVariant_QtDShell((const QDateTime& )__qt_datetime0); | |
294 return (void *) __qt_this; | |
295 | |
296 } | |
297 | |
298 // QVariant::QVariant(const QLine & line) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
299 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant_QLine |
1 | 300 (void* line0) |
301 { | |
302 const QLine& __qt_line0 = (const QLine& ) *(QLine *)line0; | |
303 QVariant_QtDShell *__qt_this = new QVariant_QtDShell((const QLine& )__qt_line0); | |
304 return (void *) __qt_this; | |
305 | |
306 } | |
307 | |
308 // QVariant::QVariant(const QLineF & line) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
309 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant_QLineF |
1 | 310 (void* line0) |
311 { | |
312 const QLineF& __qt_line0 = (const QLineF& ) *(QLineF *)line0; | |
313 QVariant_QtDShell *__qt_this = new QVariant_QtDShell((const QLineF& )__qt_line0); | |
314 return (void *) __qt_this; | |
315 | |
316 } | |
317 | |
318 // QVariant::QVariant(const QList<QVariant > & list) | |
319 // QVariant::QVariant(const QLocale & locale) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
320 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant_QLocale |
1 | 321 (void* locale0) |
322 { | |
323 const QLocale& __qt_locale0 = (const QLocale& ) *(QLocale *)locale0; | |
324 QVariant_QtDShell *__qt_this = new QVariant_QtDShell((const QLocale& )__qt_locale0); | |
325 return (void *) __qt_this; | |
326 | |
327 } | |
328 | |
329 // QVariant::QVariant(const QMap<QString, QVariant > & map) | |
330 // QVariant::QVariant(const QPoint & pt) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
331 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant_QPoint |
1 | 332 (void* pt0) |
333 { | |
334 const QPoint& __qt_pt0 = (const QPoint& ) *(QPoint *)pt0; | |
335 QVariant_QtDShell *__qt_this = new QVariant_QtDShell((const QPoint& )__qt_pt0); | |
336 return (void *) __qt_this; | |
337 | |
338 } | |
339 | |
340 // QVariant::QVariant(const QPointF & pt) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
341 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant_QPointF |
1 | 342 (void* pt0) |
343 { | |
344 const QPointF& __qt_pt0 = (const QPointF& ) *(QPointF *)pt0; | |
345 QVariant_QtDShell *__qt_this = new QVariant_QtDShell((const QPointF& )__qt_pt0); | |
346 return (void *) __qt_this; | |
347 | |
348 } | |
349 | |
350 // QVariant::QVariant(const QRect & rect) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
351 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant_QRect |
1 | 352 (void* rect0) |
353 { | |
354 const QRect& __qt_rect0 = (const QRect& ) *(QRect *)rect0; | |
355 QVariant_QtDShell *__qt_this = new QVariant_QtDShell((const QRect& )__qt_rect0); | |
356 return (void *) __qt_this; | |
357 | |
358 } | |
359 | |
360 // QVariant::QVariant(const QRectF & rect) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
361 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant_QRectF |
1 | 362 (void* rect0) |
363 { | |
364 const QRectF& __qt_rect0 = (const QRectF& ) *(QRectF *)rect0; | |
365 QVariant_QtDShell *__qt_this = new QVariant_QtDShell((const QRectF& )__qt_rect0); | |
366 return (void *) __qt_this; | |
367 | |
368 } | |
369 | |
370 // QVariant::QVariant(const QRegExp & regExp) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
371 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant_QRegExp |
1 | 372 (void* regExp0) |
373 { | |
374 const QRegExp& __qt_regExp0 = (const QRegExp& ) *(QRegExp *)regExp0; | |
375 QVariant_QtDShell *__qt_this = new QVariant_QtDShell((const QRegExp& )__qt_regExp0); | |
376 return (void *) __qt_this; | |
377 | |
378 } | |
379 | |
380 // QVariant::QVariant(const QSize & size) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
381 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant_QSize |
1 | 382 (void* size0) |
383 { | |
384 const QSize& __qt_size0 = (const QSize& ) *(QSize *)size0; | |
385 QVariant_QtDShell *__qt_this = new QVariant_QtDShell((const QSize& )__qt_size0); | |
386 return (void *) __qt_this; | |
387 | |
388 } | |
389 | |
390 // QVariant::QVariant(const QSizeF & size) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
391 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant_QSizeF |
1 | 392 (void* size0) |
393 { | |
394 const QSizeF& __qt_size0 = (const QSizeF& ) *(QSizeF *)size0; | |
395 QVariant_QtDShell *__qt_this = new QVariant_QtDShell((const QSizeF& )__qt_size0); | |
396 return (void *) __qt_this; | |
397 | |
398 } | |
399 | |
400 // QVariant::QVariant(const QString & string) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
401 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant_String |
188 | 402 (DArray string0) |
1 | 403 { |
188 | 404 QString __qt_string0 = QString::fromUtf8((const char *)string0.ptr, string0.length); |
1 | 405 QVariant_QtDShell *__qt_this = new QVariant_QtDShell((const QString& )__qt_string0); |
406 return (void *) __qt_this; | |
407 | |
408 } | |
409 | |
410 // QVariant::QVariant(const QStringList & stringlist) | |
411 // QVariant::QVariant(const QTime & time) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
412 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant_QTime |
1 | 413 (void* time0) |
414 { | |
415 const QTime& __qt_time0 = (const QTime& ) *(QTime *)time0; | |
416 QVariant_QtDShell *__qt_this = new QVariant_QtDShell((const QTime& )__qt_time0); | |
417 return (void *) __qt_this; | |
418 | |
419 } | |
420 | |
421 // QVariant::QVariant(const QUrl & url) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
422 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant_QUrl |
1 | 423 (void* url0) |
424 { | |
425 const QUrl& __qt_url0 = (const QUrl& ) *(QUrl *)url0; | |
426 QVariant_QtDShell *__qt_this = new QVariant_QtDShell((const QUrl& )__qt_url0); | |
427 return (void *) __qt_this; | |
428 | |
429 } | |
430 | |
431 // QVariant::QVariant(const QVariant & other) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
432 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant_QVariant |
1 | 433 (void* other0) |
434 { | |
435 const QVariant& __qt_other0 = (const QVariant& ) *(QVariant *)other0; | |
436 QVariant_QtDShell *__qt_this = new QVariant_QtDShell((const QVariant& )__qt_other0); | |
437 return (void *) __qt_this; | |
438 | |
439 } | |
440 | |
441 // QVariant::QVariant(const char * str) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
442 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant_nativepointerchar |
1 | 443 (char* str0) |
444 { | |
445 const char* __qt_str0 = (const char* ) str0; | |
446 QVariant_QtDShell *__qt_this = new QVariant_QtDShell((const char* )__qt_str0); | |
447 return (void *) __qt_this; | |
448 | |
449 } | |
450 | |
451 // QVariant::QVariant(double d) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
452 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant_double |
1 | 453 (double d0) |
454 { | |
455 QVariant_QtDShell *__qt_this = new QVariant_QtDShell((double )d0); | |
456 return (void *) __qt_this; | |
457 | |
458 } | |
459 | |
460 // QVariant::QVariant(int i) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
461 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant_int |
1 | 462 (int i0) |
463 { | |
464 QVariant_QtDShell *__qt_this = new QVariant_QtDShell((int )i0); | |
465 return (void *) __qt_this; | |
466 | |
467 } | |
468 | |
469 // QVariant::QVariant(int typeOrUserType, const void * copy) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
470 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant_int_nativepointervoid |
1 | 471 (int typeOrUserType0, |
472 void* copy1) | |
473 { | |
474 const void* __qt_copy1 = (const void* ) copy1; | |
475 QVariant_QtDShell *__qt_this = new QVariant_QtDShell((int )typeOrUserType0, (const void* )__qt_copy1); | |
476 return (void *) __qt_this; | |
477 | |
478 } | |
479 | |
480 // QVariant::QVariant(long long ll) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
481 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant_long |
1 | 482 (qint64 ll0) |
483 { | |
484 QVariant_QtDShell *__qt_this = new QVariant_QtDShell((qint64 )ll0); | |
485 return (void *) __qt_this; | |
486 | |
487 } | |
488 | |
489 // QVariant::QVariant(uint ui) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
490 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant_uint |
1 | 491 (uint ui0) |
492 { | |
493 QVariant_QtDShell *__qt_this = new QVariant_QtDShell((uint )ui0); | |
494 return (void *) __qt_this; | |
495 | |
496 } | |
497 | |
498 // QVariant::QVariant(unsigned long long ull) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
499 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_QVariant_ulong |
1 | 500 (quint64 ull0) |
501 { | |
502 QVariant_QtDShell *__qt_this = new QVariant_QtDShell((quint64 )ull0); | |
503 return (void *) __qt_this; | |
504 | |
505 } | |
506 | |
507 // QVariant::canConvert() const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
508 QTD_EXTERN QTD_DLL_PUBLIC bool qtd_QVariant_canConvert |
1 | 509 (void* __this_nativeId, QVariant::Type type) |
510 { | |
511 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
512 bool __qt_return_value = __qt_this->canConvert(type); | |
513 | |
514 bool __java_return_value = __qt_return_value; | |
515 | |
516 return __java_return_value; | |
517 } | |
518 | |
519 // QVariant::clear() | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
520 QTD_EXTERN QTD_DLL_PUBLIC void qtd_QVariant_clear |
1 | 521 (void* __this_nativeId) |
522 { | |
523 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
524 __qt_this->clear(); | |
525 | |
526 } | |
527 | |
528 // QVariant::cmp(const QVariant & other) const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
529 QTD_EXTERN QTD_DLL_PUBLIC bool qtd_QVariant_cmp_QVariant |
1 | 530 (void* __this_nativeId, |
531 void* other0) | |
532 { | |
533 const QVariant& __qt_other0 = (const QVariant& ) *(QVariant *)other0; | |
534 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
535 bool __qt_return_value = __qt_this->__public_cmp((const QVariant& )__qt_other0); | |
536 | |
537 bool __java_return_value = __qt_return_value; | |
538 | |
539 return __java_return_value; | |
540 } | |
541 | |
542 // QVariant::create(int type, const void * copy) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
543 QTD_EXTERN QTD_DLL_PUBLIC void qtd_QVariant_create_int_nativepointervoid |
1 | 544 (void* __this_nativeId, |
545 int type0, | |
546 void* copy1) | |
547 { | |
548 const void* __qt_copy1 = (const void* ) copy1; | |
549 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
550 __qt_this->__public_create((int )type0, (const void* )__qt_copy1); | |
551 | |
552 } | |
553 | |
554 // QVariant::isNull() const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
555 QTD_EXTERN QTD_DLL_PUBLIC bool qtd_QVariant_isNull |
1 | 556 (void* __this_nativeId) |
557 { | |
558 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
559 bool __qt_return_value = __qt_this->isNull(); | |
560 | |
561 bool __java_return_value = __qt_return_value; | |
562 | |
563 return __java_return_value; | |
564 } | |
565 | |
566 // QVariant::isValid() const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
567 QTD_EXTERN QTD_DLL_PUBLIC bool qtd_QVariant_isValid |
1 | 568 (void* __this_nativeId) |
569 { | |
570 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
571 bool __qt_return_value = __qt_this->isValid(); | |
572 | |
573 bool __java_return_value = __qt_return_value; | |
574 | |
575 return __java_return_value; | |
576 } | |
577 | |
578 // QVariant::load(QDataStream & ds) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
579 QTD_EXTERN QTD_DLL_PUBLIC void qtd_QVariant_load_QDataStream |
1 | 580 (void* __this_nativeId, |
581 void* ds0) | |
582 { | |
583 QDataStream& __qt_ds0 = (QDataStream& ) * (QDataStream *) ds0; | |
584 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
585 __qt_this->load((QDataStream& )__qt_ds0); | |
586 | |
587 } | |
588 | |
589 // QVariant::operator<<(QDataStream & s) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
590 QTD_EXTERN QTD_DLL_PUBLIC void qtd_QVariant_writeTo_QDataStream |
1 | 591 (void* __this_nativeId, |
592 void* s0) | |
593 { | |
594 QDataStream& __qt_s0 = (QDataStream& ) * (QDataStream *) s0; | |
595 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
596 if (__qt_this != 0) ::operator<<((QDataStream& )__qt_s0, *__qt_this); | |
597 | |
598 } | |
599 | |
600 // QVariant::operator=(const QVariant & other) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
601 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_operator_assign_QVariant |
1 | 602 (void* __this_nativeId, |
603 void* other0) | |
604 { | |
605 const QVariant& __qt_other0 = (const QVariant& ) *(QVariant *)other0; | |
606 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
607 QVariant& __qt_return_value = __qt_this->operator=((const QVariant& )__qt_other0); | |
608 | |
609 void* __java_return_value = (void*) &__qt_return_value;// qtjambi_from_cpointer | |
610 | |
611 return __java_return_value; | |
612 } | |
613 | |
614 // QVariant::operator==(const QVariant & v) const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
615 QTD_EXTERN QTD_DLL_PUBLIC bool qtd_QVariant_operator_equal_QVariant |
1 | 616 (void* __this_nativeId, |
617 void* v0) | |
618 { | |
619 const QVariant& __qt_v0 = (const QVariant& ) *(QVariant *)v0; | |
620 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
621 bool __qt_return_value = __qt_this->operator==((const QVariant& )__qt_v0); | |
622 | |
623 bool __java_return_value = __qt_return_value; | |
624 | |
625 return __java_return_value; | |
626 } | |
627 | |
628 // QVariant::operator>>(QDataStream & s) | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
629 QTD_EXTERN QTD_DLL_PUBLIC void qtd_QVariant_readFrom_QDataStream |
1 | 630 (void* __this_nativeId, |
631 void* s0) | |
632 { | |
633 QDataStream& __qt_s0 = (QDataStream& ) * (QDataStream *) s0; | |
634 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
635 if (__qt_this != 0) ::operator>>((QDataStream& )__qt_s0, *__qt_this); | |
636 | |
637 } | |
638 | |
639 // QVariant::save(QDataStream & ds) const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
640 QTD_EXTERN QTD_DLL_PUBLIC void qtd_QVariant_save_QDataStream |
1 | 641 (void* __this_nativeId, |
642 void* ds0) | |
643 { | |
644 QDataStream& __qt_ds0 = (QDataStream& ) * (QDataStream *) ds0; | |
645 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
646 __qt_this->save((QDataStream& )__qt_ds0); | |
647 | |
648 } | |
649 | |
650 // QVariant::toBitArray() const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
651 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_toBitArray |
1 | 652 (void* __this_nativeId) |
653 { | |
654 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
655 QBitArray __qt_return_value = __qt_this->toBitArray(); | |
656 | |
657 void* __java_return_value = (void*) new QBitArray(__qt_return_value); | |
658 | |
659 return __java_return_value; | |
660 } | |
661 | |
662 // QVariant::toBool() const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
663 QTD_EXTERN QTD_DLL_PUBLIC bool qtd_QVariant_toBool |
1 | 664 (void* __this_nativeId) |
665 { | |
666 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
667 bool __qt_return_value = __qt_this->toBool(); | |
668 | |
669 bool __java_return_value = __qt_return_value; | |
670 | |
671 return __java_return_value; | |
672 } | |
673 | |
674 // QVariant::toByteArray() const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
675 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_toByteArray |
1 | 676 (void* __this_nativeId) |
677 { | |
678 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
679 QByteArray __qt_return_value = __qt_this->toByteArray(); | |
680 | |
681 void* __java_return_value = (void*) new QByteArray(__qt_return_value); | |
682 | |
683 return __java_return_value; | |
684 } | |
685 | |
686 // QVariant::toChar() const | |
687 // QVariant::toDate() const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
688 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_toDate |
1 | 689 (void* __this_nativeId) |
690 { | |
691 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
692 QDate __qt_return_value = __qt_this->toDate(); | |
693 | |
694 void* __java_return_value = (void*) new QDate(__qt_return_value); | |
695 | |
696 return __java_return_value; | |
697 } | |
698 | |
699 // QVariant::toDateTime() const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
700 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_toDateTime |
1 | 701 (void* __this_nativeId) |
702 { | |
703 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
704 QDateTime __qt_return_value = __qt_this->toDateTime(); | |
705 | |
706 void* __java_return_value = (void*) new QDateTime(__qt_return_value); | |
707 | |
708 return __java_return_value; | |
709 } | |
710 | |
711 // QVariant::toDouble(bool * ok) const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
712 QTD_EXTERN QTD_DLL_PUBLIC double qtd_QVariant_toDouble_nativepointerbool |
1 | 713 (void* __this_nativeId, |
714 bool* ok0) | |
715 { | |
716 bool* __qt_ok0 = (bool* ) ok0; | |
717 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
718 double __qt_return_value = __qt_this->toDouble((bool* )__qt_ok0); | |
719 | |
720 double __java_return_value = __qt_return_value; | |
721 | |
722 return __java_return_value; | |
723 } | |
724 | |
725 // QVariant::toInt(bool * ok) const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
726 QTD_EXTERN QTD_DLL_PUBLIC int qtd_QVariant_toInt_nativepointerbool |
1 | 727 (void* __this_nativeId, |
728 bool* ok0) | |
729 { | |
730 bool* __qt_ok0 = (bool* ) ok0; | |
731 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
732 int __qt_return_value = __qt_this->toInt((bool* )__qt_ok0); | |
733 | |
734 int __java_return_value = __qt_return_value; | |
735 | |
736 return __java_return_value; | |
737 } | |
738 | |
739 // QVariant::toLine() const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
740 QTD_EXTERN QTD_DLL_PUBLIC QLine qtd_QVariant_toLine |
1 | 741 (void* __this_nativeId) |
742 { | |
743 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
3
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
744 return __qt_this->toLine(); |
1 | 745 } |
746 | |
747 // QVariant::toLineF() const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
748 QTD_EXTERN QTD_DLL_PUBLIC QLineF qtd_QVariant_toLineF |
1 | 749 (void* __this_nativeId) |
750 { | |
751 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
3
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
752 return __qt_this->toLineF(); |
1 | 753 } |
754 | |
755 // QVariant::toList() const | |
756 // QVariant::toLocale() const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
757 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_toLocale |
1 | 758 (void* __this_nativeId) |
759 { | |
760 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
761 QLocale __qt_return_value = __qt_this->toLocale(); | |
762 | |
763 void* __java_return_value = (void*) new QLocale(__qt_return_value); | |
764 | |
765 return __java_return_value; | |
766 } | |
767 | |
768 // QVariant::toLongLong(bool * ok) const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
769 QTD_EXTERN QTD_DLL_PUBLIC qint64 qtd_QVariant_toLongLong_nativepointerbool |
1 | 770 (void* __this_nativeId, |
771 bool* ok0) | |
772 { | |
773 bool* __qt_ok0 = (bool* ) ok0; | |
774 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
775 qint64 __qt_return_value = __qt_this->toLongLong((bool* )__qt_ok0); | |
776 | |
777 qint64 __java_return_value = __qt_return_value; | |
778 | |
779 return __java_return_value; | |
780 } | |
781 | |
782 // QVariant::toMap() const | |
783 // QVariant::toPoint() const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
784 QTD_EXTERN QTD_DLL_PUBLIC QPoint qtd_QVariant_toPoint |
1 | 785 (void* __this_nativeId) |
786 { | |
787 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
788 QPoint __qt_return_value = __qt_this->toPoint(); | |
789 | |
790 return __qt_return_value; | |
791 } | |
792 | |
793 // QVariant::toPointF() const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
794 QTD_EXTERN QTD_DLL_PUBLIC QPointF qtd_QVariant_toPointF |
1 | 795 (void* __this_nativeId) |
796 { | |
797 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
798 QPointF __qt_return_value = __qt_this->toPointF(); | |
799 | |
800 return __qt_return_value; | |
801 } | |
802 | |
803 // QVariant::toRect() const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
804 QTD_EXTERN QTD_DLL_PUBLIC QRect qtd_QVariant_toRect |
1 | 805 (void* __this_nativeId) |
806 { | |
807 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
808 QRect __qt_return_value = __qt_this->toRect(); | |
809 | |
6 | 810 return __qt_return_value; |
1 | 811 } |
812 | |
813 // QVariant::toRectF() const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
814 QTD_EXTERN QTD_DLL_PUBLIC QRectF qtd_QVariant_toRectF |
1 | 815 (void* __this_nativeId) |
816 { | |
817 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
818 QRectF __qt_return_value = __qt_this->toRectF(); | |
819 | |
6 | 820 return __qt_return_value; |
1 | 821 } |
822 | |
823 // QVariant::toRegExp() const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
824 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_toRegExp |
1 | 825 (void* __this_nativeId) |
826 { | |
827 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
828 QRegExp __qt_return_value = __qt_this->toRegExp(); | |
829 | |
830 void* __java_return_value = (void*) new QRegExp(__qt_return_value); | |
831 | |
832 return __java_return_value; | |
833 } | |
834 | |
835 // QVariant::toSize() const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
836 QTD_EXTERN QTD_DLL_PUBLIC QSize qtd_QVariant_toSize |
1 | 837 (void* __this_nativeId) |
838 { | |
839 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
840 QSize __qt_return_value = __qt_this->toSize(); | |
841 | |
842 | |
843 return __qt_return_value; | |
844 } | |
845 | |
846 // QVariant::toSizeF() const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
847 QTD_EXTERN QTD_DLL_PUBLIC QSizeF qtd_QVariant_toSizeF |
1 | 848 (void* __this_nativeId) |
849 { | |
850 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
851 QSizeF __qt_return_value = __qt_this->toSizeF(); | |
852 | |
853 | |
854 return __qt_return_value; | |
855 } | |
856 | |
857 // QVariant::toString() const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
858 QTD_EXTERN QTD_DLL_PUBLIC void qtd_QVariant_toString |
1 | 859 (void* __this_nativeId, |
860 void* __java_return_value) | |
861 { | |
862 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
863 QString __qt_return_value = __qt_this->toString(); | |
864 | |
254 | 865 qtd_toUtf8(__qt_return_value.utf16(), __qt_return_value.size(), __java_return_value); |
1 | 866 |
867 } | |
868 | |
869 // QVariant::toStringList() const | |
870 // QVariant::toTime() const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
871 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_toTime |
1 | 872 (void* __this_nativeId) |
873 { | |
874 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
875 QTime __qt_return_value = __qt_this->toTime(); | |
876 | |
877 void* __java_return_value = (void*) new QTime(__qt_return_value); | |
878 | |
879 return __java_return_value; | |
880 } | |
881 | |
882 // QVariant::toUInt(bool * ok) const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
883 QTD_EXTERN QTD_DLL_PUBLIC uint qtd_QVariant_toUInt_nativepointerbool |
1 | 884 (void* __this_nativeId, |
885 bool* ok0) | |
886 { | |
887 bool* __qt_ok0 = (bool* ) ok0; | |
888 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
889 uint __qt_return_value = __qt_this->toUInt((bool* )__qt_ok0); | |
890 | |
891 uint __java_return_value = __qt_return_value; | |
892 | |
893 return __java_return_value; | |
894 } | |
895 | |
896 // QVariant::toULongLong(bool * ok) const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
897 QTD_EXTERN QTD_DLL_PUBLIC quint64 qtd_QVariant_toULongLong_nativepointerbool |
1 | 898 (void* __this_nativeId, |
899 bool* ok0) | |
900 { | |
901 bool* __qt_ok0 = (bool* ) ok0; | |
902 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
903 quint64 __qt_return_value = __qt_this->toULongLong((bool* )__qt_ok0); | |
904 | |
905 quint64 __java_return_value = __qt_return_value; | |
906 | |
907 return __java_return_value; | |
908 } | |
909 | |
910 // QVariant::toUrl() const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
911 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_toUrl |
1 | 912 (void* __this_nativeId) |
913 { | |
914 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
915 QUrl __qt_return_value = __qt_this->toUrl(); | |
916 | |
917 void* __java_return_value = (void*) new QUrl(__qt_return_value); | |
918 | |
919 return __java_return_value; | |
920 } | |
921 | |
922 // QVariant::typeName() const | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
923 QTD_EXTERN QTD_DLL_PUBLIC char* qtd_QVariant_typeName |
1 | 924 (void* __this_nativeId) |
925 { | |
926 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
927 const char* __qt_return_value = __qt_this->typeName(); | |
928 | |
929 char* __java_return_value = (char*) __qt_return_value;// qtjambi_from_cpointer | |
930 | |
931 return __java_return_value; | |
932 } | |
933 | |
159 | 934 // QVariant::type() const |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
935 QTD_EXTERN QTD_DLL_PUBLIC int qtd_QVariant_type |
159 | 936 (void* __this_nativeId) |
937 { | |
938 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
939 int __qt_return_value = __qt_this->type(); | |
940 | |
941 int __java_return_value = __qt_return_value; | |
942 | |
943 return __java_return_value; | |
944 } | |
945 | |
1 | 946 // QVariant::userType() const |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
947 QTD_EXTERN QTD_DLL_PUBLIC int qtd_QVariant_userType |
1 | 948 (void* __this_nativeId) |
949 { | |
950 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; | |
951 int __qt_return_value = __qt_this->userType(); | |
952 | |
953 int __java_return_value = __qt_return_value; | |
954 | |
955 return __java_return_value; | |
956 } | |
957 | |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
958 QTD_EXTERN QTD_DLL_PUBLIC void *qtd_QVariant_data(void* __this_nativeId) |
87
f46133029d8b
qtd: Implement QMetaType. QVariant may save D types now.
SokoL_SD
parents:
6
diff
changeset
|
959 { |
f46133029d8b
qtd: Implement QMetaType. QVariant may save D types now.
SokoL_SD
parents:
6
diff
changeset
|
960 QVariant_QtDShell *__qt_this = (QVariant_QtDShell *) __this_nativeId; |
f46133029d8b
qtd: Implement QMetaType. QVariant may save D types now.
SokoL_SD
parents:
6
diff
changeset
|
961 return __qt_this->data(); |
f46133029d8b
qtd: Implement QMetaType. QVariant may save D types now.
SokoL_SD
parents:
6
diff
changeset
|
962 } |
f46133029d8b
qtd: Implement QMetaType. QVariant may save D types now.
SokoL_SD
parents:
6
diff
changeset
|
963 |
1 | 964 // ---externC---end |
965 // Field accessors | |
966 | |
967 | |
87
f46133029d8b
qtd: Implement QMetaType. QVariant may save D types now.
SokoL_SD
parents:
6
diff
changeset
|
968 |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
295
diff
changeset
|
969 QTD_EXTERN QTD_DLL_PUBLIC void* qtd_QVariant_placed_copy(void* variant0, void* place) { |
295
463563fc9e17
more of QList. const functions in C++ are now const in D too. Drop of the store result feature, which was incompatible with const functions and introduced too much of the bloat in the generator.
eldar
parents:
254
diff
changeset
|
970 const QVariant& __qt_variant0 = (const QVariant& ) *(QVariant *)variant0; |
463563fc9e17
more of QList. const functions in C++ are now const in D too. Drop of the store result feature, which was incompatible with const functions and introduced too much of the bloat in the generator.
eldar
parents:
254
diff
changeset
|
971 QVariant *result = new (place)QVariant((const QVariant& )__qt_variant0); |
463563fc9e17
more of QList. const functions in C++ are now const in D too. Drop of the store result feature, which was incompatible with const functions and introduced too much of the bloat in the generator.
eldar
parents:
254
diff
changeset
|
972 return (void *) result; |
463563fc9e17
more of QList. const functions in C++ are now const in D too. Drop of the store result feature, which was incompatible with const functions and introduced too much of the bloat in the generator.
eldar
parents:
254
diff
changeset
|
973 } |