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