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
|
//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqrect.h>
#include <tqstyle.h>
#include <tqstring.h>
#include <tqpoint.h>
#include <tqpalette.h>
#include <tqsize.h>
#include <tqpixmap.h>
#include <qtjava/QtSupport.h>
#include <qtjava/TQStyle.h>
JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QStyle_className(JNIEnv* env, jobject obj)
{
const char* _qstring;
_qstring = ((TQStyle*) QtSupport::getQt(env, obj))->className();
return QtSupport::fromCharString(env, (char *) _qstring);
}
JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyle_defaultFrameWidth(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQStyle*) QtSupport::getQt(env, obj))->defaultFrameWidth();
return xret;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawComplexControlMask__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QRect_2(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r)
{
((TQStyle*) QtSupport::getQt(env, obj))->drawComplexControlMask((TQStyle::ComplexControl) control, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r));
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawComplexControlMask__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject arg5)
{
((TQStyle*) QtSupport::getQt(env, obj))->drawComplexControlMask((TQStyle::ComplexControl) control, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg5));
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawComplexControl__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QColorGroup_2(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject cg)
{
((TQStyle*) QtSupport::getQt(env, obj))->drawComplexControl((TQStyle::ComplexControl) control, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg));
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawComplexControl__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QColorGroup_2I(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject cg, jint how)
{
((TQStyle*) QtSupport::getQt(env, obj))->drawComplexControl((TQStyle::ComplexControl) control, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) how);
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawComplexControl__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QColorGroup_2II(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject cg, jint how, jint sub)
{
((TQStyle*) QtSupport::getQt(env, obj))->drawComplexControl((TQStyle::ComplexControl) control, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) how, (TQStyle::SCFlags) sub);
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawComplexControl__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QColorGroup_2III(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject cg, jint how, jint sub, jint subActive)
{
((TQStyle*) QtSupport::getQt(env, obj))->drawComplexControl((TQStyle::ComplexControl) control, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) how, (TQStyle::SCFlags) sub, (TQStyle::SCFlags) subActive);
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawComplexControl__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QColorGroup_2IIILorg_trinitydesktop_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject cg, jint how, jint sub, jint subActive, jobject arg9)
{
((TQStyle*) QtSupport::getQt(env, obj))->drawComplexControl((TQStyle::ComplexControl) control, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) how, (TQStyle::SCFlags) sub, (TQStyle::SCFlags) subActive, (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg9));
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawControlMask__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QRect_2(JNIEnv* env, jobject obj, jint element, jobject p, jobject widget, jobject r)
{
((TQStyle*) QtSupport::getQt(env, obj))->drawControlMask((TQStyle::ControlElement) element, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r));
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawControlMask__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint element, jobject p, jobject widget, jobject r, jobject arg5)
{
((TQStyle*) QtSupport::getQt(env, obj))->drawControlMask((TQStyle::ControlElement) element, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg5));
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawControl__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QColorGroup_2(JNIEnv* env, jobject obj, jint element, jobject p, jobject widget, jobject r, jobject cg)
{
((TQStyle*) QtSupport::getQt(env, obj))->drawControl((TQStyle::ControlElement) element, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg));
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawControl__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QColorGroup_2I(JNIEnv* env, jobject obj, jint element, jobject p, jobject widget, jobject r, jobject cg, jint how)
{
((TQStyle*) QtSupport::getQt(env, obj))->drawControl((TQStyle::ControlElement) element, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) how);
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawControl__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QColorGroup_2ILorg_trinitydesktop_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint element, jobject p, jobject widget, jobject r, jobject cg, jint how, jobject arg7)
{
((TQStyle*) QtSupport::getQt(env, obj))->drawControl((TQStyle::ControlElement) element, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) how, (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg7));
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawItem__Lorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QRect_2ILorg_trinitydesktop_qt_QColorGroup_2ZLorg_trinitydesktop_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject p, jobject r, jint flags, jobject g, jboolean enabled, jobject pixmap, jstring text)
{
static TQString* _qstring_text = 0;
((TQStyle*) QtSupport::getQt(env, obj))->drawItem((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (int) flags, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) enabled, (const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text));
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawItem__Lorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QRect_2ILorg_trinitydesktop_qt_QColorGroup_2ZLorg_trinitydesktop_qt_QPixmap_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject p, jobject r, jint flags, jobject g, jboolean enabled, jobject pixmap, jstring text, jint len)
{
static TQString* _qstring_text = 0;
((TQStyle*) QtSupport::getQt(env, obj))->drawItem((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (int) flags, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) enabled, (const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) len);
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawItem__Lorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QRect_2ILorg_trinitydesktop_qt_QColorGroup_2ZLorg_trinitydesktop_qt_QPixmap_2Ljava_lang_String_2ILorg_trinitydesktop_qt_QColor_2(JNIEnv* env, jobject obj, jobject p, jobject r, jint flags, jobject g, jboolean enabled, jobject pixmap, jstring text, jint len, jobject penColor)
{
static TQString* _qstring_text = 0;
((TQStyle*) QtSupport::getQt(env, obj))->drawItem((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (int) flags, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) enabled, (const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) len, (const TQColor*) QtSupport::getQt(env, penColor));
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawPrimitive__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QColorGroup_2(JNIEnv* env, jobject obj, jint pe, jobject p, jobject r, jobject cg)
{
((TQStyle*) QtSupport::getQt(env, obj))->drawPrimitive((TQStyle::PrimitiveElement) pe, (TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg));
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawPrimitive__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QColorGroup_2I(JNIEnv* env, jobject obj, jint pe, jobject p, jobject r, jobject cg, jint flags)
{
((TQStyle*) QtSupport::getQt(env, obj))->drawPrimitive((TQStyle::PrimitiveElement) pe, (TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) flags);
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawPrimitive__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QColorGroup_2ILorg_trinitydesktop_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint pe, jobject p, jobject r, jobject cg, jint flags, jobject arg6)
{
((TQStyle*) QtSupport::getQt(env, obj))->drawPrimitive((TQStyle::PrimitiveElement) pe, (TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) flags, (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg6));
return;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyle_itemRect__Lorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QRect_2IZLorg_trinitydesktop_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject p, jobject r, jint flags, jboolean enabled, jobject pixmap, jstring text)
{
static TQString* _qstring_text = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQStyle*) QtSupport::getQt(env, obj))->itemRect((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (int) flags, (bool) enabled, (const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))), "org.trinitydesktop.qt.TQRect", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyle_itemRect__Lorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QRect_2IZLorg_trinitydesktop_qt_QPixmap_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject p, jobject r, jint flags, jboolean enabled, jobject pixmap, jstring text, jint len)
{
static TQString* _qstring_text = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQStyle*) QtSupport::getQt(env, obj))->itemRect((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (int) flags, (bool) enabled, (const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) len)), "org.trinitydesktop.qt.TQRect", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyle_metaObject(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStyle*) QtSupport::getQt(env, obj))->metaObject(), "org.trinitydesktop.qt.TQMetaObject");
return xret;
}
JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyle_pixelMetric__I(JNIEnv* env, jobject obj, jint metric)
{
jint xret = (jint) ((TQStyle*) QtSupport::getQt(env, obj))->pixelMetric((TQStyle::PixelMetric) metric);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyle_pixelMetric__ILorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jobject obj, jint metric, jobject widget)
{
jint xret = (jint) ((TQStyle*) QtSupport::getQt(env, obj))->pixelMetric((TQStyle::PixelMetric) metric, (const TQWidget*) QtSupport::getQt(env, widget));
return xret;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_polishPopupMenu(JNIEnv* env, jobject obj, jobject arg1)
{
((TQStyle*) QtSupport::getQt(env, obj))->polishPopupMenu((TQPopupMenu*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_polish__Lorg_trinitydesktop_qt_QApplication_2(JNIEnv* env, jobject obj, jobject arg1)
{
((TQStyle*) QtSupport::getQt(env, obj))->polish((TQApplication*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_polish__Lorg_trinitydesktop_qt_QPalette_2(JNIEnv* env, jobject obj, jobject arg1)
{
((TQStyle*) QtSupport::getQt(env, obj))->polish((TQPalette&)*(TQPalette*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_polish__Lorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1)
{
((TQStyle*) QtSupport::getQt(env, obj))->polish((TQWidget*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyle_querySubControlMetrics__ILorg_trinitydesktop_qt_QWidget_2I(JNIEnv* env, jobject obj, jint control, jobject widget, jint sc)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQStyle*) QtSupport::getQt(env, obj))->querySubControlMetrics((TQStyle::ComplexControl) control, (const TQWidget*) QtSupport::getQt(env, widget), (TQStyle::SubControl) sc)), "org.trinitydesktop.qt.TQRect", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyle_querySubControlMetrics__ILorg_trinitydesktop_qt_QWidget_2ILorg_trinitydesktop_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint control, jobject widget, jint sc, jobject arg4)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQStyle*) QtSupport::getQt(env, obj))->querySubControlMetrics((TQStyle::ComplexControl) control, (const TQWidget*) QtSupport::getQt(env, widget), (TQStyle::SubControl) sc, (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg4))), "org.trinitydesktop.qt.TQRect", TRUE);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyle_querySubControl__ILorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QPoint_2(JNIEnv* env, jobject obj, jint control, jobject widget, jobject pos)
{
jint xret = (jint) ((TQStyle*) QtSupport::getQt(env, obj))->querySubControl((TQStyle::ComplexControl) control, (const TQWidget*) QtSupport::getQt(env, widget), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos));
return xret;
}
JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyle_querySubControl__ILorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QPoint_2Lorg_trinitydesktop_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint control, jobject widget, jobject pos, jobject arg4)
{
jint xret = (jint) ((TQStyle*) QtSupport::getQt(env, obj))->querySubControl((TQStyle::ComplexControl) control, (const TQWidget*) QtSupport::getQt(env, widget), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg4));
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyle_scrollBarExtent(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQStyle*) QtSupport::getQt(env, obj))->scrollBarExtent()), "org.trinitydesktop.qt.TQSize", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyle_sizeFromContents__ILorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QSize_2(JNIEnv* env, jobject obj, jint contents, jobject widget, jobject contentsSize)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQStyle*) QtSupport::getQt(env, obj))->sizeFromContents((TQStyle::ContentsType) contents, (const TQWidget*) QtSupport::getQt(env, widget), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, contentsSize))), "org.trinitydesktop.qt.TQSize", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyle_sizeFromContents__ILorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QSize_2Lorg_trinitydesktop_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint contents, jobject widget, jobject contentsSize, jobject arg4)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQStyle*) QtSupport::getQt(env, obj))->sizeFromContents((TQStyle::ContentsType) contents, (const TQWidget*) QtSupport::getQt(env, widget), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, contentsSize), (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg4))), "org.trinitydesktop.qt.TQSize", TRUE);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyle_styleHint__I(JNIEnv* env, jobject obj, jint stylehint)
{
jint xret = (jint) ((TQStyle*) QtSupport::getQt(env, obj))->styleHint((TQStyle::StyleHint) stylehint);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyle_styleHint__ILorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jobject obj, jint stylehint, jobject widget)
{
jint xret = (jint) ((TQStyle*) QtSupport::getQt(env, obj))->styleHint((TQStyle::StyleHint) stylehint, (const TQWidget*) QtSupport::getQt(env, widget));
return xret;
}
JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyle_styleHint__ILorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint stylehint, jobject widget, jobject arg3)
{
jint xret = (jint) ((TQStyle*) QtSupport::getQt(env, obj))->styleHint((TQStyle::StyleHint) stylehint, (const TQWidget*) QtSupport::getQt(env, widget), (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg3));
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyle_stylePixmap__I(JNIEnv* env, jobject obj, jint stylepixmap)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQStyle*) QtSupport::getQt(env, obj))->stylePixmap((TQStyle::StylePixmap) stylepixmap)), "org.trinitydesktop.qt.TQPixmap", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyle_stylePixmap__ILorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jobject obj, jint stylepixmap, jobject widget)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQStyle*) QtSupport::getQt(env, obj))->stylePixmap((TQStyle::StylePixmap) stylepixmap, (const TQWidget*) QtSupport::getQt(env, widget))), "org.trinitydesktop.qt.TQPixmap", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyle_stylePixmap__ILorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint stylepixmap, jobject widget, jobject arg3)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQStyle*) QtSupport::getQt(env, obj))->stylePixmap((TQStyle::StylePixmap) stylepixmap, (const TQWidget*) QtSupport::getQt(env, widget), (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg3))), "org.trinitydesktop.qt.TQPixmap", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyle_subRect(JNIEnv* env, jobject obj, jint r, jobject widget)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQStyle*) QtSupport::getQt(env, obj))->subRect((TQStyle::SubRect) r, (const TQWidget*) QtSupport::getQt(env, widget))), "org.trinitydesktop.qt.TQRect", TRUE);
return xret;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_tabbarMetrics(JNIEnv* env, jobject obj, jobject t, jintArray hf, jintArray vf, jintArray ov)
{
int* _int_hf = QtSupport::toIntPtr(env, hf);
int* _int_vf = QtSupport::toIntPtr(env, vf);
int* _int_ov = QtSupport::toIntPtr(env, ov);
((TQStyle*) QtSupport::getQt(env, obj))->tabbarMetrics((const TQWidget*) QtSupport::getQt(env, t), (int&) *_int_hf, (int&) *_int_vf, (int&) *_int_ov);
env->SetIntArrayRegion(hf, 0, 1, (jint *) _int_hf);
env->SetIntArrayRegion(vf, 0, 1, (jint *) _int_vf);
env->SetIntArrayRegion(ov, 0, 1, (jint *) _int_ov);
return;
}
JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QStyle_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1)
{
TQString _qstring;
(void) cls;
static TQCString* _qstring_arg1 = 0;
_qstring = TQStyle::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1));
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QStyle_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2)
{
TQString _qstring;
(void) cls;
static TQCString* _qstring_arg1 = 0;
static TQCString* _qstring_arg2 = 0;
_qstring = TQStyle::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2));
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_unPolish__Lorg_trinitydesktop_qt_QApplication_2(JNIEnv* env, jobject obj, jobject arg1)
{
((TQStyle*) QtSupport::getQt(env, obj))->unPolish((TQApplication*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_unPolish__Lorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1)
{
((TQStyle*) QtSupport::getQt(env, obj))->unPolish((TQWidget*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyle_visualRect__Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QRect_2(JNIEnv* env, jclass cls, jobject logical, jobject bounding)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(TQStyle::visualRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, logical), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, bounding))), "org.trinitydesktop.qt.TQRect", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyle_visualRect__Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jclass cls, jobject logical, jobject w)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(TQStyle::visualRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, logical), (const TQWidget*) QtSupport::getQt(env, w))), "org.trinitydesktop.qt.TQRect", TRUE);
return xret;
}
|