1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
|
//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqsizepolicy.h>
#include <tqdatetime.h>
#include <tqglobal.h>
#include <tqrect.h>
#include <tqdatastream.h>
#include <tqstring.h>
#include <tqpoint.h>
#include <tqstringlist.h>
#include <tqpalette.h>
#include <tqsize.h>
#include <tqbrush.h>
#include <tqregion.h>
#include <tqcursor.h>
#include <tqbitmap.h>
#include <tqpixmap.h>
#include <tqfont.h>
#include <tqimage.h>
#include <tqiconset.h>
#include <tqkeysequence.h>
#include <tqvariant.h>
#include <tqpointarray.h>
#include <tqbitarray.h>
#include <tqpen.h>
#include <tqcolor.h>
#include <tqcstring.h>
#include <qtjava/QtSupport.h>
#include <qtjava/TQVariant.h>
class TQVariantJBridge : public TQVariant
{
public:
TQVariantJBridge() : TTQVariant() {};
TQVariantJBridge(const TTQVariant& arg1) : TTQVariant(arg1) {};
TQVariantJBridge(TTQDataStream& arg1) : TTQVariant(arg1) {};
TQVariantJBridge(const TTQString& arg1) : TTQVariant(arg1) {};
TQVariantJBridge(const TTQStringList& arg1) : TTQVariant(arg1) {};
TQVariantJBridge(const TTQFont& arg1) : TTQVariant(arg1) {};
TQVariantJBridge(const TTQPixmap& arg1) : TTQVariant(arg1) {};
TQVariantJBridge(const TTQImage& arg1) : TTQVariant(arg1) {};
TQVariantJBridge(const TTQBrush& arg1) : TTQVariant(arg1) {};
TQVariantJBridge(const TTQPoint& arg1) : TTQVariant(arg1) {};
TQVariantJBridge(const TTQRect& arg1) : TTQVariant(arg1) {};
TQVariantJBridge(const TTQSize& arg1) : TTQVariant(arg1) {};
TQVariantJBridge(const TTQColor& arg1) : TTQVariant(arg1) {};
TQVariantJBridge(const TTQPalette& arg1) : TTQVariant(arg1) {};
TQVariantJBridge(const TTQColorGroup& arg1) : TTQVariant(arg1) {};
TQVariantJBridge(const TTQIconSet& arg1) : TTQVariant(arg1) {};
TQVariantJBridge(const TTQPointArray& arg1) : TTQVariant(arg1) {};
TQVariantJBridge(const TTQRegion& arg1) : TTQVariant(arg1) {};
TQVariantJBridge(const TTQBitmap& arg1) : TTQVariant(arg1) {};
TQVariantJBridge(const TTQCursor& arg1) : TTQVariant(arg1) {};
TQVariantJBridge(const TTQDate& arg1) : TTQVariant(arg1) {};
TQVariantJBridge(const TTQTime& arg1) : TTQVariant(arg1) {};
TQVariantJBridge(const TTQByteArray& arg1) : TTQVariant(arg1) {};
TQVariantJBridge(const TTQKeySequence& arg1) : TTQVariant(arg1) {};
TQVariantJBridge(const TTQPen& arg1) : TTQVariant(arg1) {};
TQVariantJBridge(int arg1) : TTQVariant(arg1) {};
TQVariantJBridge(Q_LLONG arg1) : TTQVariant(arg1) {};
TQVariantJBridge(bool arg1,int arg2) : TTQVariant(arg1,arg2) {};
TQVariantJBridge(double arg1) : TTQVariant(arg1) {};
TQVariantJBridge(TTQSizePolicy arg1) : TTQVariant(arg1) {};
~TQVariantJBridge() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asBitmap(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQBitmap *) &((TTQVariant*) QtSupport::getQt(env, obj))->asBitmap(), "org.kde.qt.TTQBitmap");
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QVariant_asBool(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((TTQVariant*) QtSupport::getQt(env, obj))->asBool();
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asBrush(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQBrush *) &((TTQVariant*) QtSupport::getQt(env, obj))->asBrush(), "org.kde.qt.TTQBrush");
return xret;
}
JNIEXPORT jbyteArray JNICALL
Java_org_kde_qt_QVariant_asByteArray(JNIEnv* env, jobject obj)
{
TTQByteArray _qbyteArray;
_qbyteArray = ((TTQVariant*) QtSupport::getQt(env, obj))->asByteArray();
return QtSupport::fromTQByteArray(env, &_qbyteArray);
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QVariant_asCString(JNIEnv* env, jobject obj)
{
TTQCString _qstring;
_qstring = ((TTQVariant*) QtSupport::getQt(env, obj))->asCString();
return QtSupport::fromTQCString(env, &_qstring);
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asColorGroup(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColorGroup *) &((TTQVariant*) QtSupport::getQt(env, obj))->asColorGroup(), "org.kde.qt.TTQColorGroup");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asColor(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQVariant*) QtSupport::getQt(env, obj))->asColor(), "org.kde.qt.TTQColor");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asCursor(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQCursor *) &((TTQVariant*) QtSupport::getQt(env, obj))->asCursor(), "org.kde.qt.TTQCursor");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asDateTime(JNIEnv* env, jobject obj)
{
TTQDateTime _qdate;
_qdate = ((TTQVariant*) QtSupport::getQt(env, obj))->asDateTime();
return (jobject) QtSupport::fromTQDateTime(env, (TTQDateTime*) &_qdate);
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asDate(JNIEnv* env, jobject obj)
{
TTQDate _qdate;
_qdate = ((TTQVariant*) QtSupport::getQt(env, obj))->asDate();
return (jobject) QtSupport::fromTQDate(env, (TTQDate*) &_qdate);
}
JNIEXPORT jdouble JNICALL
Java_org_kde_qt_QVariant_asDouble(JNIEnv* env, jobject obj)
{
jdouble xret = (jdouble) ((TTQVariant*) QtSupport::getQt(env, obj))->asDouble();
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asFont(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQFont *) &((TTQVariant*) QtSupport::getQt(env, obj))->asFont(), "org.kde.qt.TTQFont");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asIconSet(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQIconSet *) &((TTQVariant*) QtSupport::getQt(env, obj))->asIconSet(), "org.kde.qt.TTQIconSet");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asImage(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQImage *) &((TTQVariant*) QtSupport::getQt(env, obj))->asImage(), "org.kde.qt.TTQImage");
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QVariant_asInt(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TTQVariant*) QtSupport::getQt(env, obj))->asInt();
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asKeySequence(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQKeySequence *) &((TTQVariant*) QtSupport::getQt(env, obj))->asKeySequence(), "org.kde.qt.TTQKeySequence");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asPalette(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPalette *) &((TTQVariant*) QtSupport::getQt(env, obj))->asPalette(), "org.kde.qt.TTQPalette");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asPen(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPen *) &((TTQVariant*) QtSupport::getQt(env, obj))->asPen(), "org.kde.qt.TTQPen");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asPixmap(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPixmap *) &((TTQVariant*) QtSupport::getQt(env, obj))->asPixmap(), "org.kde.qt.TTQPixmap");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asPointArray(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPointArray *) &((TTQVariant*) QtSupport::getQt(env, obj))->asPointArray(), "org.kde.qt.TTQPointArray");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asPoint(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPoint *) &((TTQVariant*) QtSupport::getQt(env, obj))->asPoint(), "org.kde.qt.TTQPoint");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asRect(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQRect *) &((TTQVariant*) QtSupport::getQt(env, obj))->asRect(), "org.kde.qt.TTQRect");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asRegion(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQRegion *) &((TTQVariant*) QtSupport::getQt(env, obj))->asRegion(), "org.kde.qt.TTQRegion");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asSizePolicy(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQSizePolicy *) &((TTQVariant*) QtSupport::getQt(env, obj))->asSizePolicy(), "org.kde.qt.TTQSizePolicy");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asSize(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQSize *) &((TTQVariant*) QtSupport::getQt(env, obj))->asSize(), "org.kde.qt.TTQSize");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asStringList(JNIEnv* env, jobject obj)
{
TTQStringList _qlist;
_qlist = ((TTQVariant*) QtSupport::getQt(env, obj))->asStringList();
return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist);
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QVariant_asString(JNIEnv* env, jobject obj)
{
TTQString _qstring;
_qstring = ((TTQVariant*) QtSupport::getQt(env, obj))->asString();
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_asTime(JNIEnv* env, jobject obj)
{
TTQTime _qtime;
_qtime = ((TTQVariant*) QtSupport::getQt(env, obj))->asTime();
return (jobject) QtSupport::fromTQTime(env, (TTQTime*) &_qtime);
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QVariant_asUInt(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TTQVariant*) QtSupport::getQt(env, obj))->asUInt();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QVariant_canCast(JNIEnv* env, jobject obj, jint arg1)
{
jboolean xret = (jboolean) ((TTQVariant*) QtSupport::getQt(env, obj))->canCast((TTQVariant::Type) arg1);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QVariant_cast(JNIEnv* env, jobject obj, jint arg1)
{
jboolean xret = (jboolean) ((TTQVariant*) QtSupport::getQt(env, obj))->cast((TTQVariant::Type) arg1);
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_clear(JNIEnv* env, jobject obj)
{
((TTQVariant*) QtSupport::getQt(env, obj))->clear();
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_dispose(JNIEnv* env, jobject obj)
{
Java_org_kde_qt_QVariant_finalize(env, obj);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj)) {
delete (TTQVariant*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QVariant_isDisposed(JNIEnv* env, jobject obj)
{
return (QtSupport::getQt(env, obj) == 0);
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QVariant_isNull(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((TTQVariant*) QtSupport::getQt(env, obj))->isNull();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QVariant_isValid(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((TTQVariant*) QtSupport::getQt(env, obj))->isValid();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_load(JNIEnv* env, jobject obj, jobject arg1)
{
((TTQVariant*) QtSupport::getQt(env, obj))->load((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QVariant_nameToType(JNIEnv* env, jclass cls, jstring name)
{
(void) cls;
static TTQCString* _qstring_name = 0;
jint xret = (jint) TQVariantJBridge::nameToType((const char*) QtSupport::toCharString(env, name, &_qstring_name));
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant__(JNIEnv* env, jobject obj)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant__D(JNIEnv* env, jobject obj, jdouble arg1)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((double) arg1));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant__I(JNIEnv* env, jobject obj, jint arg1)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((int) arg1));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant__J(JNIEnv* env, jobject obj, jlong arg1)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((Q_LLONG) arg1));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1)
{
static TTQString* _qstring_arg1 = 0;
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject arg1)
{
static TTQDate* _qdate_arg1 = 0;
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQDate&)*(TTQDate*) QtSupport::toTQDate(env, arg1, &_qdate_arg1)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant__Ljava_util_Date_2(JNIEnv* env, jobject obj, jobject arg1)
{
static TTQTime* _qtime_arg1 = 0;
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQTime&)*(TTQTime*) QtSupport::toTQTime(env, arg1, &_qtime_arg1)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QBitmap_2(JNIEnv* env, jobject obj, jobject arg1)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQBitmap&)*(const TTQBitmap*) QtSupport::getQt(env, arg1)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QBrush_2(JNIEnv* env, jobject obj, jobject arg1)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQBrush&)*(const TTQBrush*) QtSupport::getQt(env, arg1)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jobject arg1)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg1)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject arg1)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, arg1)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QCursor_2(JNIEnv* env, jobject obj, jobject arg1)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQCursor&)*(const TTQCursor*) QtSupport::getQt(env, arg1)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QDataStream_2(JNIEnv* env, jobject obj, jobject s)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, s)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject arg1)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, arg1)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jobject arg1)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, arg1)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject arg1)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQImage&)*(const TTQImage*) QtSupport::getQt(env, arg1)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject arg1)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQKeySequence&)*(const TTQKeySequence*) QtSupport::getQt(env, arg1)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPalette_2(JNIEnv* env, jobject obj, jobject arg1)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQPalette&)*(const TTQPalette*) QtSupport::getQt(env, arg1)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPen_2(JNIEnv* env, jobject obj, jobject arg1)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQPen&)*(const TTQPen*) QtSupport::getQt(env, arg1)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, arg1)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQPointArray&)*(const TTQPointArray*) QtSupport::getQt(env, arg1)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QRegion_2(JNIEnv* env, jobject obj, jobject arg1)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, arg1)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QSizePolicy_2(JNIEnv* env, jobject obj, jobject arg1)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((TTQSizePolicy)*(TTQSizePolicy*) QtSupport::getQt(env, arg1)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, arg1)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jobject arg1)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQVariant&)*(const TTQVariant*) QtSupport::getQt(env, arg1)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant__ZI(JNIEnv* env, jobject obj, jboolean arg1, jint arg2)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((bool) arg1, (int) arg2));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant___3B(JNIEnv* env, jobject obj, jbyteArray arg1)
{
static TTQByteArray* _qbyteArray_arg1 = 0;
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, arg1, &_qbyteArray_arg1)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_newTQVariant___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray arg1)
{
static TTQStringList* _qlist_arg1 = 0;
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQStringList&)*(TTQStringList*) QtSupport::toTQStringList(env, arg1, &_qlist_arg1)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QVariant_op_1equals(JNIEnv* env, jobject obj, jobject arg1)
{
jboolean xret = (jboolean) ((TTQVariant*) QtSupport::getQt(env, obj))->operator==((const TTQVariant&)*(const TTQVariant*) QtSupport::getQt(env, arg1));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QVariant_op_1not_1equals(JNIEnv* env, jobject obj, jobject arg1)
{
jboolean xret = (jboolean) ((TTQVariant*) QtSupport::getQt(env, obj))->operator!=((const TTQVariant&)*(const TTQVariant*) QtSupport::getQt(env, arg1));
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QVariant_save(JNIEnv* env, jobject obj, jobject arg1)
{
((TTQVariant*) QtSupport::getQt(env, obj))->save((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toBitmap(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQBitmap(((TTQVariant*) QtSupport::getQt(env, obj))->toBitmap()), "org.kde.qt.TTQBitmap", TRUE);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QVariant_toBool(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((TTQVariant*) QtSupport::getQt(env, obj))->toBool();
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toBrush(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQBrush(((TTQVariant*) QtSupport::getQt(env, obj))->toBrush()), "org.kde.qt.TTQBrush", TRUE);
return xret;
}
JNIEXPORT jbyteArray JNICALL
Java_org_kde_qt_QVariant_toByteArray(JNIEnv* env, jobject obj)
{
TTQByteArray _qbyteArray;
_qbyteArray = ((TTQVariant*) QtSupport::getQt(env, obj))->toByteArray();
return QtSupport::fromTQByteArray(env, &_qbyteArray);
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QVariant_toCString(JNIEnv* env, jobject obj)
{
TTQCString _qstring;
_qstring = ((TTQVariant*) QtSupport::getQt(env, obj))->toCString();
return QtSupport::fromTQCString(env, &_qstring);
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toColorGroup(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQColorGroup(((TTQVariant*) QtSupport::getQt(env, obj))->toColorGroup()), "org.kde.qt.TTQColorGroup", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toColor(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQColor(((TTQVariant*) QtSupport::getQt(env, obj))->toColor()), "org.kde.qt.TTQColor", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toCursor(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQCursor(((TTQVariant*) QtSupport::getQt(env, obj))->toCursor()), "org.kde.qt.TTQCursor", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toDateTime(JNIEnv* env, jobject obj)
{
TTQDateTime _qdate;
_qdate = ((TTQVariant*) QtSupport::getQt(env, obj))->toDateTime();
return (jobject) QtSupport::fromTQDateTime(env, (TTQDateTime*) &_qdate);
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toDate(JNIEnv* env, jobject obj)
{
TTQDate _qdate;
_qdate = ((TTQVariant*) QtSupport::getQt(env, obj))->toDate();
return (jobject) QtSupport::fromTQDate(env, (TTQDate*) &_qdate);
}
JNIEXPORT jdouble JNICALL
Java_org_kde_qt_QVariant_toDouble__(JNIEnv* env, jobject obj)
{
jdouble xret = (jdouble) ((TTQVariant*) QtSupport::getQt(env, obj))->toDouble();
return xret;
}
JNIEXPORT jdouble JNICALL
Java_org_kde_qt_QVariant_toDouble___3Z(JNIEnv* env, jobject obj, jbooleanArray ok)
{
bool* _bool_ok = QtSupport::toBooleanPtr(env, ok);
jdouble xret = (jdouble) ((TTQVariant*) QtSupport::getQt(env, obj))->toDouble( (bool*) _bool_ok);
env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toFont(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(((TTQVariant*) QtSupport::getQt(env, obj))->toFont()), "org.kde.qt.TTQFont", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toIconSet(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQIconSet(((TTQVariant*) QtSupport::getQt(env, obj))->toIconSet()), "org.kde.qt.TTQIconSet", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toImage(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQVariant*) QtSupport::getQt(env, obj))->toImage()), "org.kde.qt.TTQImage", TRUE);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QVariant_toInt__(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TTQVariant*) QtSupport::getQt(env, obj))->toInt();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QVariant_toInt___3Z(JNIEnv* env, jobject obj, jbooleanArray ok)
{
bool* _bool_ok = QtSupport::toBooleanPtr(env, ok);
jint xret = (jint) ((TTQVariant*) QtSupport::getQt(env, obj))->toInt( (bool*) _bool_ok);
env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toKeySequence(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQKeySequence(((TTQVariant*) QtSupport::getQt(env, obj))->toKeySequence()), "org.kde.qt.TTQKeySequence", TRUE);
return xret;
}
JNIEXPORT jlong JNICALL
Java_org_kde_qt_QVariant_toLongLong__(JNIEnv* env, jobject obj)
{
jlong xret = (jlong) ((TTQVariant*) QtSupport::getQt(env, obj))->toLongLong();
return xret;
}
JNIEXPORT jlong JNICALL
Java_org_kde_qt_QVariant_toLongLong___3Z(JNIEnv* env, jobject obj, jbooleanArray ok)
{
bool* _bool_ok = QtSupport::toBooleanPtr(env, ok);
jlong xret = (jlong) ((TTQVariant*) QtSupport::getQt(env, obj))->toLongLong( (bool*) _bool_ok);
env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toPalette(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPalette(((TTQVariant*) QtSupport::getQt(env, obj))->toPalette()), "org.kde.qt.TTQPalette", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toPen(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPen(((TTQVariant*) QtSupport::getQt(env, obj))->toPen()), "org.kde.qt.TTQPen", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toPixmap(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(((TTQVariant*) QtSupport::getQt(env, obj))->toPixmap()), "org.kde.qt.TTQPixmap", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toPointArray(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPointArray(((TTQVariant*) QtSupport::getQt(env, obj))->toPointArray()), "org.kde.qt.TTQPointArray", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toPoint(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQVariant*) QtSupport::getQt(env, obj))->toPoint()), "org.kde.qt.TTQPoint", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toRect(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQVariant*) QtSupport::getQt(env, obj))->toRect()), "org.kde.qt.TTQRect", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toRegion(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRegion(((TTQVariant*) QtSupport::getQt(env, obj))->toRegion()), "org.kde.qt.TTQRegion", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toSizePolicy(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSizePolicy(((TTQVariant*) QtSupport::getQt(env, obj))->toSizePolicy()), "org.kde.qt.TTQSizePolicy", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toSize(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQVariant*) QtSupport::getQt(env, obj))->toSize()), "org.kde.qt.TTQSize", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toStringList(JNIEnv* env, jobject obj)
{
TTQStringList _qlist;
_qlist = ((TTQVariant*) QtSupport::getQt(env, obj))->toStringList();
return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist);
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QVariant_toString(JNIEnv* env, jobject obj)
{
TTQString _qstring;
_qstring = ((TTQVariant*) QtSupport::getQt(env, obj))->toString();
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QVariant_toTime(JNIEnv* env, jobject obj)
{
TTQTime _qtime;
_qtime = ((TTQVariant*) QtSupport::getQt(env, obj))->toTime();
return (jobject) QtSupport::fromTQTime(env, (TTQTime*) &_qtime);
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QVariant_toUInt__(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TTQVariant*) QtSupport::getQt(env, obj))->toUInt();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QVariant_toUInt___3Z(JNIEnv* env, jobject obj, jbooleanArray ok)
{
bool* _bool_ok = QtSupport::toBooleanPtr(env, ok);
jint xret = (jint) ((TTQVariant*) QtSupport::getQt(env, obj))->toUInt( (bool*) _bool_ok);
env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok);
return xret;
}
JNIEXPORT jlong JNICALL
Java_org_kde_qt_QVariant_toULongLong__(JNIEnv* env, jobject obj)
{
jlong xret = (jlong) ((TTQVariant*) QtSupport::getQt(env, obj))->toULongLong();
return xret;
}
JNIEXPORT jlong JNICALL
Java_org_kde_qt_QVariant_toULongLong___3Z(JNIEnv* env, jobject obj, jbooleanArray ok)
{
bool* _bool_ok = QtSupport::toBooleanPtr(env, ok);
jlong xret = (jlong) ((TTQVariant*) QtSupport::getQt(env, obj))->toULongLong( (bool*) _bool_ok);
env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok);
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QVariant_typeName(JNIEnv* env, jobject obj)
{
const char* _qstring;
_qstring = ((TTQVariant*) QtSupport::getQt(env, obj))->typeName();
return QtSupport::fromCharString(env, (char *) _qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QVariant_typeToName(JNIEnv* env, jclass cls, jint typ)
{
const char* _qstring;
(void) cls;
_qstring = TQVariantJBridge::typeToName((TTQVariant::Type) typ);
return QtSupport::fromCharString(env, (char *) _qstring);
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QVariant_type(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TTQVariant*) QtSupport::getQt(env, obj))->type();
return xret;
}
|