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
|
//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqrect.h>
#include <tqpoint.h>
#include <tqsize.h>
#include <tqwindowdefs.h>
#include <qtjava/QtSupport.h>
#include <qtjava/TQRect.h>
class TQRectJBridge : public TQRect
{
public:
TQRectJBridge() : TQRect() {};
TQRectJBridge(const TQPoint& arg1,const TQPoint& arg2) : TQRect(arg1,arg2) {};
TQRectJBridge(const TQPoint& arg1,const TQSize& arg2) : TQRect(arg1,arg2) {};
TQRectJBridge(int arg1,int arg2,int arg3,int arg4) : TQRect(arg1,arg2,arg3,arg4) {};
~TQRectJBridge() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_addCoords(JNIEnv* env, jobject obj, jint x1, jint y1, jint x2, jint y2)
{
((TQRect*) QtSupport::getQt(env, obj))->addCoords((int) x1, (int) y1, (int) x2, (int) y2);
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QRect_bottomLeft(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQRect*) QtSupport::getQt(env, obj))->bottomLeft()), "org.kde.qt.TQPoint", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QRect_bottomRight(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQRect*) QtSupport::getQt(env, obj))->bottomRight()), "org.kde.qt.TQPoint", TRUE);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QRect_bottom(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->bottom();
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QRect_center(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQRect*) QtSupport::getQt(env, obj))->center()), "org.kde.qt.TQPoint", TRUE);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QRect_contains__II(JNIEnv* env, jobject obj, jint x, jint y)
{
jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->contains((int) x, (int) y);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QRect_contains__IIZ(JNIEnv* env, jobject obj, jint x, jint y, jboolean proper)
{
jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->contains((int) x, (int) y, (bool) proper);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QRect_contains__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject p)
{
jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->contains((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QRect_contains__Lorg_kde_qt_QPoint_2Z(JNIEnv* env, jobject obj, jobject p, jboolean proper)
{
jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->contains((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p), (bool) proper);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QRect_contains__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject r)
{
jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->contains((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QRect_contains__Lorg_kde_qt_QRect_2Z(JNIEnv* env, jobject obj, jobject r, jboolean proper)
{
jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->contains((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (bool) proper);
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_coords(JNIEnv* env, jobject obj, jintArray x1, jintArray y1, jintArray x2, jintArray y2)
{
int* _int_x1 = QtSupport::toIntPtr(env, x1);
int* _int_y1 = QtSupport::toIntPtr(env, y1);
int* _int_x2 = QtSupport::toIntPtr(env, x2);
int* _int_y2 = QtSupport::toIntPtr(env, y2);
((TQRect*) QtSupport::getQt(env, obj))->coords( (int*) _int_x1, (int*) _int_y1, (int*) _int_x2, (int*) _int_y2);
env->SetIntArrayRegion(x1, 0, 1, (jint *) _int_x1);
env->SetIntArrayRegion(y1, 0, 1, (jint *) _int_y1);
env->SetIntArrayRegion(x2, 0, 1, (jint *) _int_x2);
env->SetIntArrayRegion(y2, 0, 1, (jint *) _int_y2);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_dispose(JNIEnv* env, jobject obj)
{
Java_org_kde_qt_QRect_finalize(env, obj);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj)) {
delete (TQRect*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QRect_height(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->height();
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QRect_intersect(JNIEnv* env, jobject obj, jobject r)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQRect*) QtSupport::getQt(env, obj))->intersect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r))), "org.kde.qt.TQRect", TRUE);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QRect_intersects(JNIEnv* env, jobject obj, jobject r)
{
jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->intersects((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QRect_isDisposed(JNIEnv* env, jobject obj)
{
return (QtSupport::getQt(env, obj) == 0);
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QRect_isEmpty(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->isEmpty();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QRect_isNull(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->isNull();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QRect_isValid(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->isValid();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QRect_left(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->left();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_moveBottomLeft(JNIEnv* env, jobject obj, jobject p)
{
((TQRect*) QtSupport::getQt(env, obj))->moveBottomLeft((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_moveBottomRight(JNIEnv* env, jobject obj, jobject p)
{
((TQRect*) QtSupport::getQt(env, obj))->moveBottomRight((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_moveBottom(JNIEnv* env, jobject obj, jint pos)
{
((TQRect*) QtSupport::getQt(env, obj))->moveBottom((int) pos);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_moveBy(JNIEnv* env, jobject obj, jint dx, jint dy)
{
((TQRect*) QtSupport::getQt(env, obj))->moveBy((int) dx, (int) dy);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_moveCenter(JNIEnv* env, jobject obj, jobject p)
{
((TQRect*) QtSupport::getQt(env, obj))->moveCenter((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_moveLeft(JNIEnv* env, jobject obj, jint pos)
{
((TQRect*) QtSupport::getQt(env, obj))->moveLeft((int) pos);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_moveRight(JNIEnv* env, jobject obj, jint pos)
{
((TQRect*) QtSupport::getQt(env, obj))->moveRight((int) pos);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_moveTopLeft(JNIEnv* env, jobject obj, jobject p)
{
((TQRect*) QtSupport::getQt(env, obj))->moveTopLeft((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_moveTopRight(JNIEnv* env, jobject obj, jobject p)
{
((TQRect*) QtSupport::getQt(env, obj))->moveTopRight((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_moveTop(JNIEnv* env, jobject obj, jint pos)
{
((TQRect*) QtSupport::getQt(env, obj))->moveTop((int) pos);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_newTQRect__(JNIEnv* env, jobject obj)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQRectJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_newTQRect__IIII(JNIEnv* env, jobject obj, jint left, jint top, jint width, jint height)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQRectJBridge((int) left, (int) top, (int) width, (int) height));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_newTQRect__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject topleft, jobject bottomright)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQRectJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, topleft), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, bottomright)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_newTQRect__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject topleft, jobject size)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQRectJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, topleft), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, size)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QRect_normalize(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQRect*) QtSupport::getQt(env, obj))->normalize()), "org.kde.qt.TQRect", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QRect_op_1and_1assign(JNIEnv* env, jobject obj, jobject r)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQRect*) QtSupport::getQt(env, obj))->operator&=((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)), "org.kde.qt.TQRect");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QRect_op_1and(JNIEnv* env, jobject obj, jobject r)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQRect*) QtSupport::getQt(env, obj))->operator&((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r))), "org.kde.qt.TQRect", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QRect_op_1or_1assign(JNIEnv* env, jobject obj, jobject r)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQRect*) QtSupport::getQt(env, obj))->operator|=((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)), "org.kde.qt.TQRect");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QRect_op_1or(JNIEnv* env, jobject obj, jobject r)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQRect*) QtSupport::getQt(env, obj))->operator|((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r))), "org.kde.qt.TQRect", TRUE);
return xret;
}
JNIEXPORT jshort JNICALL
Java_org_kde_qt_QRect_rBottom(JNIEnv* env, jobject obj)
{
jshort xret = (jshort) ((TQRect*) QtSupport::getQt(env, obj))->rBottom();
return xret;
}
JNIEXPORT jshort JNICALL
Java_org_kde_qt_QRect_rLeft(JNIEnv* env, jobject obj)
{
jshort xret = (jshort) ((TQRect*) QtSupport::getQt(env, obj))->rLeft();
return xret;
}
JNIEXPORT jshort JNICALL
Java_org_kde_qt_QRect_rRight(JNIEnv* env, jobject obj)
{
jshort xret = (jshort) ((TQRect*) QtSupport::getQt(env, obj))->rRight();
return xret;
}
JNIEXPORT jshort JNICALL
Java_org_kde_qt_QRect_rTop(JNIEnv* env, jobject obj)
{
jshort xret = (jshort) ((TQRect*) QtSupport::getQt(env, obj))->rTop();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_rect(JNIEnv* env, jobject obj, jintArray x, jintArray y, jintArray w, jintArray h)
{
int* _int_x = QtSupport::toIntPtr(env, x);
int* _int_y = QtSupport::toIntPtr(env, y);
int* _int_w = QtSupport::toIntPtr(env, w);
int* _int_h = QtSupport::toIntPtr(env, h);
((TQRect*) QtSupport::getQt(env, obj))->rect( (int*) _int_x, (int*) _int_y, (int*) _int_w, (int*) _int_h);
env->SetIntArrayRegion(x, 0, 1, (jint *) _int_x);
env->SetIntArrayRegion(y, 0, 1, (jint *) _int_y);
env->SetIntArrayRegion(w, 0, 1, (jint *) _int_w);
env->SetIntArrayRegion(h, 0, 1, (jint *) _int_h);
return;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QRect_right(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->right();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_setBottomLeft(JNIEnv* env, jobject obj, jobject p)
{
((TQRect*) QtSupport::getQt(env, obj))->setBottomLeft((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_setBottomRight(JNIEnv* env, jobject obj, jobject p)
{
((TQRect*) QtSupport::getQt(env, obj))->setBottomRight((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_setBottom(JNIEnv* env, jobject obj, jint pos)
{
((TQRect*) QtSupport::getQt(env, obj))->setBottom((int) pos);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_setCoords(JNIEnv* env, jobject obj, jint x1, jint y1, jint x2, jint y2)
{
((TQRect*) QtSupport::getQt(env, obj))->setCoords((int) x1, (int) y1, (int) x2, (int) y2);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_setHeight(JNIEnv* env, jobject obj, jint h)
{
((TQRect*) QtSupport::getQt(env, obj))->setHeight((int) h);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_setLeft(JNIEnv* env, jobject obj, jint pos)
{
((TQRect*) QtSupport::getQt(env, obj))->setLeft((int) pos);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_setRect(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h)
{
((TQRect*) QtSupport::getQt(env, obj))->setRect((int) x, (int) y, (int) w, (int) h);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_setRight(JNIEnv* env, jobject obj, jint pos)
{
((TQRect*) QtSupport::getQt(env, obj))->setRight((int) pos);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_setSize(JNIEnv* env, jobject obj, jobject s)
{
((TQRect*) QtSupport::getQt(env, obj))->setSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_setTopLeft(JNIEnv* env, jobject obj, jobject p)
{
((TQRect*) QtSupport::getQt(env, obj))->setTopLeft((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_setTopRight(JNIEnv* env, jobject obj, jobject p)
{
((TQRect*) QtSupport::getQt(env, obj))->setTopRight((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_setTop(JNIEnv* env, jobject obj, jint pos)
{
((TQRect*) QtSupport::getQt(env, obj))->setTop((int) pos);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_setWidth(JNIEnv* env, jobject obj, jint w)
{
((TQRect*) QtSupport::getQt(env, obj))->setWidth((int) w);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_setX(JNIEnv* env, jobject obj, jint x)
{
((TQRect*) QtSupport::getQt(env, obj))->setX((int) x);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRect_setY(JNIEnv* env, jobject obj, jint y)
{
((TQRect*) QtSupport::getQt(env, obj))->setY((int) y);
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QRect_size(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQRect*) QtSupport::getQt(env, obj))->size()), "org.kde.qt.TQSize", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QRect_topLeft(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQRect*) QtSupport::getQt(env, obj))->topLeft()), "org.kde.qt.TQPoint", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QRect_topRight(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQRect*) QtSupport::getQt(env, obj))->topRight()), "org.kde.qt.TQPoint", TRUE);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QRect_top(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->top();
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QRect_unite(JNIEnv* env, jobject obj, jobject r)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQRect*) QtSupport::getQt(env, obj))->unite((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r))), "org.kde.qt.TQRect", TRUE);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QRect_width(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->width();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QRect_x(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->x();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QRect_y(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->y();
return xret;
}
|