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
|
//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqglobal.h>
#include <ksycoca.h>
#include <dcopclient.h>
#include <tqstring.h>
#include <tqstringlist.h>
#include <dcopobject.h>
#include <ksycocatype.h>
#include <tqcstring.h>
#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/KSycoca.h>
class KSycocaJBridge : public KSycoca
{
public:
KSycocaJBridge() : KSycoca() {};
KSycocaJBridge(bool arg1) : KSycoca(arg1) {};
bool protected_checkVersion(bool arg1) {
return (bool) KSycoca::checkVersion(arg1);
}
bool protected_checkVersion() {
return (bool) KSycoca::checkVersion();
}
bool protected_openDatabase(bool arg1) {
return (bool) KSycoca::openDatabase(arg1);
}
bool protected_openDatabase() {
return (bool) KSycoca::openDatabase();
}
void protected_closeDatabase() {
KSycoca::closeDatabase();
return;
}
~KSycocaJBridge() {QtSupport::qtKeyDeleted(this);}
bool isBuilding() {
return QtSupport::booleanDelegate(this,"isBuilding");
}
void removeChild(TTQObject* arg1) {
if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) {
TTQObject::removeChild(arg1);
}
return;
}
void customEvent(TTQCustomEvent* arg1) {
if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) {
TTQObject::customEvent(arg1);
}
return;
}
void timerEvent(TTQTimerEvent* arg1) {
if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) {
TTQObject::timerEvent(arg1);
}
return;
}
void childEvent(TTQChildEvent* arg1) {
if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) {
TTQObject::childEvent(arg1);
}
return;
}
void insertChild(TTQObject* arg1) {
if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) {
TTQObject::insertChild(arg1);
}
return;
}
bool eventFilter(TTQObject* object,TTQEvent* event) {
if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KSycoca",object,event)) {
return TTQObject::eventFilter(object,event);
} else {
return TRUE;
}
}
};
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KSycoca_allResourceDirs(JNIEnv* env, jobject obj)
{
TTQStringList _qlist;
_qlist = ((KSycoca*) QtSupport::getQt(env, obj))->allResourceDirs();
return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist);
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KSycoca_callingDcopClient(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->callingDcopClient(), "org.kde.koala.DCOPClient");
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSycoca_checkVersion__(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((KSycocaJBridge*) QtSupport::getQt(env, obj))->protected_checkVersion();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSycoca_checkVersion__Z(JNIEnv* env, jobject obj, jboolean abortOnError)
{
jboolean xret = (jboolean) ((KSycocaJBridge*) QtSupport::getQt(env, obj))->protected_checkVersion((bool) abortOnError);
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KSycoca_className(JNIEnv* env, jobject obj)
{
const char* _qstring;
_qstring = ((KSycoca*) QtSupport::getQt(env, obj))->className();
return QtSupport::fromCharString(env, (char *) _qstring);
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KSycoca_closeDatabase(JNIEnv* env, jobject obj)
{
((KSycocaJBridge*) QtSupport::getQt(env, obj))->protected_closeDatabase();
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSycoca_connectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot, jboolean Volatile)
{
static TTQCString* _qcstring_sender = 0;
static TTQCString* _qcstring_senderObj = 0;
static TTQCString* _qcstring_signal = 0;
static TTQCString* _qcstring_slot = 0;
jboolean xret = (jboolean) ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->connectDCOPSignal((const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot), (bool) Volatile);
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KSycoca_determineRelativePath(JNIEnv* env, jclass cls, jstring _fullpath, jstring _resource)
{
TTQString _qstring;
(void) cls;
static TTQString* _qstring__fullpath = 0;
static TTQCString* _qstring__resource = 0;
_qstring = KSycocaJBridge::determineRelativePath((const TTQString&)*(TTQString*) QtSupport::toTQString(env, _fullpath, &_qstring__fullpath), (const char*) QtSupport::toCharString(env, _resource, &_qstring__resource));
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KSycoca_disableAutoRebuild(JNIEnv* env, jobject obj)
{
((KSycoca*) QtSupport::getQt(env, obj))->disableAutoRebuild();
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSycoca_disconnectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot)
{
static TTQCString* _qcstring_sender = 0;
static TTQCString* _qcstring_senderObj = 0;
static TTQCString* _qcstring_signal = 0;
static TTQCString* _qcstring_slot = 0;
jboolean xret = (jboolean) ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->disconnectDCOPSignal((const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot));
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KSycoca_dispose(JNIEnv* env, jobject obj)
{
Java_org_kde_koala_KSycoca_finalize(env, obj);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KSycoca_emitDCOPSignal(JNIEnv* env, jobject obj, jstring signal, jbyteArray data)
{
static TTQCString* _qcstring_signal = 0;
static TTQByteArray* _qbyteArray_data = 0;
((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->emitDCOPSignal((const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KSycoca_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj) && ((KSycoca*)QtSupport::getQt(env, obj))->parent() == 0) {
delete (KSycoca*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KSycoca_findEntry(JNIEnv* env, jobject obj, jint offset, jint type)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)((KSycoca*) QtSupport::getQt(env, obj))->findEntry((int) offset, (KSycocaType&) type), "org.kde.qt.TTQDataStream");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KSycoca_findFactory(JNIEnv* env, jobject obj, jint id)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)((KSycoca*) QtSupport::getQt(env, obj))->findFactory((KSycocaFactoryId) id), "org.kde.qt.TTQDataStream");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KSycoca_find(JNIEnv* env, jclass cls, jstring objId)
{
(void) cls;
static TTQCString* _qcstring_objId = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)KSycocaJBridge::find((const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)), "org.kde.koala.DCOPObjectInterface");
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KSycoca_flagError(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
KSycocaJBridge::flagError();
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KSycoca_functionsDynamic(JNIEnv* env, jobject obj)
{
TQCStringList _qlist;
_qlist = ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->functionsDynamic();
return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist);
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KSycoca_functions(JNIEnv* env, jobject obj)
{
TQCStringList _qlist;
_qlist = ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->functions();
return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist);
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSycoca_hasObject(JNIEnv* env, jclass cls, jstring objId)
{
(void) cls;
static TTQCString* _qcstring_objId = 0;
jboolean xret = (jboolean) KSycocaJBridge::hasObject((const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId));
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KSycoca_interfacesDynamic(JNIEnv* env, jobject obj)
{
TQCStringList _qlist;
_qlist = ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->interfacesDynamic();
return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist);
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KSycoca_interfaces(JNIEnv* env, jobject obj)
{
TQCStringList _qlist;
_qlist = ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->interfaces();
return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist);
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSycoca_isBuilding(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((KSycoca*) QtSupport::getQt(env, obj))->isBuilding();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSycoca_isChanged(JNIEnv* env, jclass cls, jstring type)
{
(void) cls;
static TTQCString* _qstring_type = 0;
jboolean xret = (jboolean) KSycocaJBridge::isChanged((const char*) QtSupport::toCharString(env, type, &_qstring_type));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSycoca_isDisposed(JNIEnv* env, jobject obj)
{
return (QtSupport::getQt(env, obj) == 0);
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KSycoca_kfsstnd_1prefixes(JNIEnv* env, jobject obj)
{
TTQString _qstring;
_qstring = ((KSycoca*) QtSupport::getQt(env, obj))->kfsstnd_prefixes();
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KSycoca_language(JNIEnv* env, jobject obj)
{
TTQString _qstring;
_qstring = ((KSycoca*) QtSupport::getQt(env, obj))->language();
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KSycoca_metaObject(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)((KSycoca*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject");
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KSycoca_newKSycoca__(JNIEnv* env, jobject obj)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KSycocaJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KSycoca_newKSycoca__Z(JNIEnv* env, jobject obj, jboolean arg1)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KSycocaJBridge((bool) arg1));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KSycoca_objId(JNIEnv* env, jobject obj)
{
TTQCString _qstring;
_qstring = ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->objId();
return QtSupport::fromTQCString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KSycoca_objectName(JNIEnv* env, jclass cls, jobject arg1)
{
TTQCString _qstring;
(void) cls;
_qstring = KSycocaJBridge::objectName((TTQObject*) QtSupport::getQt(env, arg1));
return QtSupport::fromTQCString(env, &_qstring);
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSycoca_openDatabase__(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((KSycocaJBridge*) QtSupport::getQt(env, obj))->protected_openDatabase();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSycoca_openDatabase__Z(JNIEnv* env, jobject obj, jboolean openDummyIfNotFound)
{
jboolean xret = (jboolean) ((KSycocaJBridge*) QtSupport::getQt(env, obj))->protected_openDatabase((bool) openDummyIfNotFound);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSycoca_processDynamic(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData)
{
static TTQCString* _qcstring_fun = 0;
static TTQByteArray* _qbyteArray_data = 0;
static TTQCString* _qcstring_replyType = 0;
if (_qcstring_replyType == 0) {
_qcstring_replyType = new TTQCString();
}
static TTQByteArray* _qbyteArray_replyData = 0;
jboolean xret = (jboolean) ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->processDynamic((const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TTQCString&)*(TTQCString*) _qcstring_replyType, (TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData));
QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSycoca_process(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData)
{
static TTQCString* _qcstring_fun = 0;
static TTQByteArray* _qbyteArray_data = 0;
static TTQCString* _qcstring_replyType = 0;
if (_qcstring_replyType == 0) {
_qcstring_replyType = new TTQCString();
}
static TTQByteArray* _qbyteArray_replyData = 0;
jboolean xret = (jboolean) ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->process((const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TTQCString&)*(TTQCString*) _qcstring_replyType, (TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData));
QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSycoca_readError(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
jboolean xret = (jboolean) KSycocaJBridge::readError();
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KSycoca_self(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)KSycocaJBridge::self(), "org.kde.koala.KSycoca");
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KSycoca_setCallingDcopClient(JNIEnv* env, jobject obj, jobject arg1)
{
((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->setCallingDcopClient((DCOPClient*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSycoca_setObjId(JNIEnv* env, jobject obj, jstring objId)
{
static TTQCString* _qcstring_objId = 0;
jboolean xret = (jboolean) ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->setObjId((const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId));
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KSycoca_timeStamp(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((KSycoca*) QtSupport::getQt(env, obj))->timeStamp();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KSycoca_updateSignature(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((KSycoca*) QtSupport::getQt(env, obj))->updateSignature();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KSycoca_version(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
jint xret = (jint) KSycocaJBridge::version();
return xret;
}
|