summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/kdejava/KHTMLPart.cpp
blob: b06200c01b31fe81bc295bead78f92b4eb21490f (plain)
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
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
//Auto-generated by kalyptus. DO NOT EDIT.
#include <dom/html_document.h>
#include <dom/dom2_range.h>
#include <tqcursor.h>
#include <tqrect.h>
#include <tdeparts/browserextension.h>
#include <tqdatastream.h>
#include <dom/dom_node.h>
#include <tqstring.h>
#include <tqpoint.h>
#include <tqstringlist.h>
#include <tqvariant.h>
#include <tdehtml_part.h>
#include <dom/dom_doc.h>
#include <kurl.h>
#include <tqcstring.h>

#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/KHTMLPart.h>

class KHTMLPartJBridge : public KHTMLPart
{
public:
	KHTMLPartJBridge(TQWidget* arg1,const char* arg2,TQObject* arg3,const char* arg4,KHTMLPart::GUIProfile arg5) : KHTMLPart(arg1,arg2,arg3,arg4,arg5) {};
	KHTMLPartJBridge(TQWidget* arg1,const char* arg2,TQObject* arg3,const char* arg4) : KHTMLPart(arg1,arg2,arg3,arg4) {};
	KHTMLPartJBridge(TQWidget* arg1,const char* arg2,TQObject* arg3) : KHTMLPart(arg1,arg2,arg3) {};
	KHTMLPartJBridge(TQWidget* arg1,const char* arg2) : KHTMLPart(arg1,arg2) {};
	KHTMLPartJBridge(TQWidget* arg1) : KHTMLPart(arg1) {};
	KHTMLPartJBridge() : KHTMLPart() {};
	KHTMLPartJBridge(KHTMLView* arg1,TQObject* arg2,const char* arg3,KHTMLPart::GUIProfile arg4) : KHTMLPart(arg1,arg2,arg3,arg4) {};
	KHTMLPartJBridge(KHTMLView* arg1,TQObject* arg2,const char* arg3) : KHTMLPart(arg1,arg2,arg3) {};
	KHTMLPartJBridge(KHTMLView* arg1,TQObject* arg2) : KHTMLPart(arg1,arg2) {};
	KHTMLPartJBridge(KHTMLView* arg1) : KHTMLPart(arg1) {};
	void public_begin() {
		KHTMLPart::begin();
		return;
	}
	void public_end() {
		KHTMLPart::end();
		return;
	}
	KURL protected_completeURL(const TQString& arg1) {
		return (KURL) KHTMLPart::completeURL(arg1);
	}
	void protected_htmlError(int arg1,const TQString& arg2,const KURL& arg3) {
		KHTMLPart::htmlError(arg1,arg2,arg3);
		return;
	}
	void protected_customEvent(TQCustomEvent* arg1) {
		KHTMLPart::customEvent(arg1);
		return;
	}
	void protected_guiActivateEvent(KParts::GUIActivateEvent* arg1) {
		KHTMLPart::guiActivateEvent(arg1);
		return;
	}
	bool protected_openFile() {
		return (bool) KHTMLPart::openFile();
	}
	void protected_urlSelected(const TQString& arg1,int arg2,int arg3,const TQString& arg4,KParts::URLArgs arg5) {
		KHTMLPart::urlSelected(arg1,arg2,arg3,arg4,arg5);
		return;
	}
	void protected_urlSelected(const TQString& arg1,int arg2,int arg3,const TQString& arg4) {
		KHTMLPart::urlSelected(arg1,arg2,arg3,arg4);
		return;
	}
	KParts::ReadOnlyPart* protected_createPart(TQWidget* arg1,const char* arg2,TQObject* arg3,const char* arg4,const TQString& arg5,TQString& arg6,TQStringList& arg7,const TQStringList& arg8) {
		return (KParts::ReadOnlyPart*) KHTMLPart::createPart(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
	}
	bool protected_pluginPageQuestionAsked(const TQString& arg1) {
		return (bool) KHTMLPart::pluginPageQuestionAsked(arg1);
	}
	void protected_setPluginPageQuestionAsked(const TQString& arg1) {
		KHTMLPart::setPluginPageQuestionAsked(arg1);
		return;
	}
	bool protected_doOpenStream(const TQString& arg1) {
		return (bool) KHTMLPart::doOpenStream(arg1);
	}
	bool protected_doWriteStream(const TQByteArray& arg1) {
		return (bool) KHTMLPart::doWriteStream(arg1);
	}
	bool protected_doCloseStream() {
		return (bool) KHTMLPart::doCloseStream();
	}
	~KHTMLPartJBridge() {QtSupport::qtKeyDeleted(this);}
	void removeChild(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) {
			TQObject::removeChild(arg1);
		}
		return;
	}
	bool doCloseStream() {
		return QtSupport::booleanDelegate(this,"doCloseStream");
	}
	void restoreState(TQDataStream& arg1) {
		if (!QtSupport::eventDelegate(this,"restoreState",(void*)&arg1,"org.kde.qt.TQDataStream")) {
			KHTMLPart::restoreState(arg1);
		}
		return;
	}
	void partSelectEvent(KParts::PartSelectEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"partSelectEvent",(void*)arg1,"org.kde.koala.PartSelectEvent")) {
			Part::partSelectEvent(arg1);
		}
		return;
	}
	void conserveMemory() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KHTMLPart","conserveMemory")) {
			KXMLGUIClient::conserveMemory();
		}
		return;
	}
	void end() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KHTMLPart","end")) {
			KHTMLPart::end();
		}
		return;
	}
	void setManager(KParts::PartManager* arg1) {
		if (!QtSupport::eventDelegate(this,"setManager",(void*)arg1,"org.kde.koala.PartManager")) {
			Part::setManager(arg1);
		}
		return;
	}
	void setWidget(TQWidget* arg1) {
		if (!QtSupport::eventDelegate(this,"setWidget",(void*)arg1,"org.kde.qt.TQWidget")) {
			Part::setWidget(arg1);
		}
		return;
	}
	void customEvent(TQCustomEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) {
			KHTMLPart::customEvent(arg1);
		}
		return;
	}
	void timerEvent(TQTimerEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) {
			TQObject::timerEvent(arg1);
		}
		return;
	}
	void showError(TDEIO::Job* arg1) {
		if (!QtSupport::eventDelegate(this,"showError",(void*)arg1,"org.kde.koala.Job")) {
			KHTMLPart::showError(arg1);
		}
		return;
	}
	void childEvent(TQChildEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) {
			TQObject::childEvent(arg1);
		}
		return;
	}
	void embed(TQWidget* arg1) {
		if (!QtSupport::eventDelegate(this,"embed",(void*)arg1,"org.kde.qt.TQWidget")) {
			Part::embed(arg1);
		}
		return;
	}
	bool closeURL() {
		return QtSupport::booleanDelegate(this,"closeURL");
	}
	void partActivateEvent(KParts::PartActivateEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"partActivateEvent",(void*)arg1,"org.kde.koala.PartActivateEvent")) {
			Part::partActivateEvent(arg1);
		}
		return;
	}
	void guiActivateEvent(KParts::GUIActivateEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"guiActivateEvent",(void*)arg1,"org.kde.koala.GUIActivateEvent")) {
			KHTMLPart::guiActivateEvent(arg1);
		}
		return;
	}
	void saveState(TQDataStream& arg1) {
		if (!QtSupport::eventDelegate(this,"saveState",(void*)&arg1,"org.kde.qt.TQDataStream")) {
			KHTMLPart::saveState(arg1);
		}
		return;
	}
	bool openFile() {
		return QtSupport::booleanDelegate(this,"openFile");
	}
	void insertChild(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) {
			TQObject::insertChild(arg1);
		}
		return;
	}
	bool eventFilter(TQObject* object,TQEvent* event) {
		if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KHTMLPart",object,event)) {
			return TQObject::eventFilter(object,event);
		} else {
			return TRUE;
		}
	}
};

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLPart_activeNode(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((KHTMLPart*) QtSupport::getQt(env, obj))->activeNode()), "org.kde.koala.Node", TRUE);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_autoloadImages__(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLPart*) QtSupport::getQt(env, obj))->autoloadImages();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_autoloadImages__Z(JNIEnv* env, jobject obj, jboolean e)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->autoloadImages((bool) e);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLPart_backgroundURL(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KHTMLPart*) QtSupport::getQt(env, obj))->backgroundURL()), "org.kde.koala.KURL", TRUE);
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KHTMLPart_baseTarget(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((KHTMLPart*) QtSupport::getQt(env, obj))->baseTarget();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLPart_baseURL(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KHTMLPart*) QtSupport::getQt(env, obj))->baseURL()), "org.kde.koala.KURL", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_begin__(JNIEnv* env, jobject obj)
{
	((KHTMLPartJBridge*) QtSupport::getQt(env, obj))->public_begin();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_begin__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->begin((const KURL&)*(const KURL*) QtSupport::getQt(env, url));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_begin__Lorg_kde_koala_KURL_2I(JNIEnv* env, jobject obj, jobject url, jint xOffset)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->begin((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) xOffset);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_begin__Lorg_kde_koala_KURL_2II(JNIEnv* env, jobject obj, jobject url, jint xOffset, jint yOffset)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->begin((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) xOffset, (int) yOffset);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLPart_browserExtension(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KHTMLPart*) QtSupport::getQt(env, obj))->browserExtension(), "org.kde.koala.BrowserExtension");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLPart_browserHostExtension(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KHTMLPart*) QtSupport::getQt(env, obj))->browserHostExtension(), "org.kde.koala.BrowserHostExtension");
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KHTMLPart_caretDisplayPolicyNonFocused(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KHTMLPart*) QtSupport::getQt(env, obj))->caretDisplayPolicyNonFocused();
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KHTMLPart_className(JNIEnv* env, jobject obj)
{
	const char* _qstring;
	_qstring = ((KHTMLPart*) QtSupport::getQt(env, obj))->className();
	return QtSupport::fromCharString(env, (char *) _qstring);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_closeURL(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLPart*) QtSupport::getQt(env, obj))->closeURL();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLPart_completeURL(JNIEnv* env, jobject obj, jstring url)
{
static TQString* _qstring_url = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_completeURL((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url))), "org.kde.koala.KURL", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLPart_createPart(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetName, jobject parent, jstring name, jstring mimetype, jobject serviceName, jobjectArray serviceTypes, jobjectArray params)
{
static TQCString* _qstring_widgetName = 0;
static TQCString* _qstring_name = 0;
static TQString* _qstring_mimetype = 0;
static TQString* _qstring_serviceName = 0;
static TQStringList* _qlist_serviceTypes = 0;
static TQStringList* _qlist_params = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_createPart((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetName, &_qstring_widgetName), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, serviceName, &_qstring_serviceName), (TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, serviceTypes, &_qlist_serviceTypes), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, params, &_qlist_params)), "org.kde.koala.ReadOnlyPart");
	QtSupport::fromTQStringToStringBuffer(env, _qstring_serviceName, serviceName);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLPart_currentFrame(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KHTMLPart*) QtSupport::getQt(env, obj))->currentFrame(), "org.kde.koala.ReadOnlyPart");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_customEvent(JNIEnv* env, jobject obj, jobject event)
{
	((KHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_customEvent((TQCustomEvent*) QtSupport::getQt(env, event));
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KHTMLPart_dcopObjectId(JNIEnv* env, jobject obj)
{
	TQCString  _qstring;
	_qstring = ((KHTMLPart*) QtSupport::getQt(env, obj))->dcopObjectId();
	return QtSupport::fromTQCString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_koala_KHTMLPart_finalize(env, obj);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_dndEnabled(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLPart*) QtSupport::getQt(env, obj))->dndEnabled();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_doCloseStream(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_doCloseStream();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_doOpenStream(JNIEnv* env, jobject obj, jstring mimeType)
{
static TQString* _qstring_mimeType = 0;
	jboolean xret = (jboolean) ((KHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_doOpenStream((const TQString&)*(TQString*) QtSupport::toTQString(env, mimeType, &_qstring_mimeType));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_doWriteStream(JNIEnv* env, jobject obj, jbyteArray data)
{
static TQByteArray* _qbyteArray_data = 0;
	jboolean xret = (jboolean) ((KHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_doWriteStream((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data));
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KHTMLPart_documentSource(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((KHTMLPart*) QtSupport::getQt(env, obj))->documentSource();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLPart_document(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Document(((KHTMLPart*) QtSupport::getQt(env, obj))->document()), "org.kde.koala.Document", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_enableJScript(JNIEnv* env, jobject obj, jboolean e)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->enableJScript((bool) e);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_enableJava(JNIEnv* env, jobject obj, jboolean e)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->enableJava((bool) e);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_enableMetaRefresh(JNIEnv* env, jobject obj, jboolean e)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->enableMetaRefresh((bool) e);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_enablePlugins(JNIEnv* env, jobject obj, jboolean e)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->enablePlugins((bool) e);
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KHTMLPart_encoding(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((KHTMLPart*) QtSupport::getQt(env, obj))->encoding();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_end(JNIEnv* env, jobject obj)
{
	((KHTMLPartJBridge*) QtSupport::getQt(env, obj))->public_end();
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLPart_executeScript(JNIEnv* env, jobject obj, jobject n, jstring script)
{
static TQString* _qstring_script = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((KHTMLPart*) QtSupport::getQt(env, obj))->executeScript((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, n), (const TQString&)*(TQString*) QtSupport::toTQString(env, script, &_qstring_script))), "org.kde.qt.TQVariant", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj) && ((KHTMLPart*)QtSupport::getQt(env, obj))->parent() == 0) {
		delete (KHTMLPart*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLPart_findFrameParent(JNIEnv* env, jobject obj, jobject callingPart, jstring f)
{
static TQString* _qstring_f = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KHTMLPart*) QtSupport::getQt(env, obj))->findFrameParent((KParts::ReadOnlyPart*) QtSupport::getQt(env, callingPart), (const TQString&)*(TQString*) QtSupport::toTQString(env, f, &_qstring_f)), "org.kde.koala.KHTMLPart");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLPart_findFramePart(JNIEnv* env, jobject obj, jstring f)
{
static TQString* _qstring_f = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KHTMLPart*) QtSupport::getQt(env, obj))->findFramePart((const TQString&)*(TQString*) QtSupport::toTQString(env, f, &_qstring_f)), "org.kde.koala.ReadOnlyPart");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLPart_findFrame(JNIEnv* env, jobject obj, jstring f)
{
static TQString* _qstring_f = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KHTMLPart*) QtSupport::getQt(env, obj))->findFrame((const TQString&)*(TQString*) QtSupport::toTQString(env, f, &_qstring_f)), "org.kde.koala.KHTMLPart");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_findTextBegin(JNIEnv* env, jobject obj)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->findTextBegin();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_findTextNext__(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLPart*) QtSupport::getQt(env, obj))->findTextNext();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_findTextNext__Z(JNIEnv* env, jobject obj, jboolean reverse)
{
	jboolean xret = (jboolean) ((KHTMLPart*) QtSupport::getQt(env, obj))->findTextNext((bool) reverse);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_findText__(JNIEnv* env, jobject obj)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->findText();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_findText__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring str, jlong options)
{
static TQString* _qstring_str = 0;
	((KHTMLPart*) QtSupport::getQt(env, obj))->findText((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (long) options);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_findText__Ljava_lang_String_2JLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring str, jlong options, jobject parent)
{
static TQString* _qstring_str = 0;
	((KHTMLPart*) QtSupport::getQt(env, obj))->findText((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (long) options, (TQWidget*) QtSupport::getQt(env, parent));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_findText__Ljava_lang_String_2JLorg_kde_qt_QWidget_2Lorg_kde_koala_KFindDialog_2(JNIEnv* env, jobject obj, jstring str, jlong options, jobject parent, jobject findDialog)
{
static TQString* _qstring_str = 0;
	((KHTMLPart*) QtSupport::getQt(env, obj))->findText((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (long) options, (TQWidget*) QtSupport::getQt(env, parent), (KFindDialog*) QtSupport::getQt(env, findDialog));
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KHTMLPart_formNotification(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KHTMLPart*) QtSupport::getQt(env, obj))->formNotification();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_frameExists(JNIEnv* env, jobject obj, jstring frameName)
{
static TQString* _qstring_frameName = 0;
	jboolean xret = (jboolean) ((KHTMLPart*) QtSupport::getQt(env, obj))->frameExists((const TQString&)*(TQString*) QtSupport::toTQString(env, frameName, &_qstring_frameName));
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLPart_frameNames(JNIEnv* env, jobject obj)
{
	TQStringList  _qlist;
	_qlist = ((KHTMLPart*) QtSupport::getQt(env, obj))->frameNames();
	return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_gotoAnchor(JNIEnv* env, jobject obj, jstring name)
{
static TQString* _qstring_name = 0;
	jboolean xret = (jboolean) ((KHTMLPart*) QtSupport::getQt(env, obj))->gotoAnchor((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_guiActivateEvent(JNIEnv* env, jobject obj, jobject event)
{
	((KHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_guiActivateEvent((KParts::GUIActivateEvent*) QtSupport::getQt(env, event));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_hasSelection(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLPart*) QtSupport::getQt(env, obj))->hasSelection();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_hide(JNIEnv* env, jobject obj)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->hide();
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLPart_htmlDocument(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLDocument(((KHTMLPart*) QtSupport::getQt(env, obj))->htmlDocument()), "org.kde.koala.HTMLDocument", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_htmlError(JNIEnv* env, jobject obj, jint errorCode, jstring text, jobject reqUrl)
{
static TQString* _qstring_text = 0;
	((KHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_htmlError((int) errorCode, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KURL&)*(const KURL*) QtSupport::getQt(env, reqUrl));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_inProgress(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLPart*) QtSupport::getQt(env, obj))->inProgress();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_isCaretMode(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLPart*) QtSupport::getQt(env, obj))->isCaretMode();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_isDisposed(JNIEnv* env, jobject obj)
{
	return (QtSupport::getQt(env, obj) == 0);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_isEditable(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLPart*) QtSupport::getQt(env, obj))->isEditable();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_isModified(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLPart*) QtSupport::getQt(env, obj))->isModified();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_jScriptEnabled(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLPart*) QtSupport::getQt(env, obj))->jScriptEnabled();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_javaEnabled(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLPart*) QtSupport::getQt(env, obj))->javaEnabled();
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KHTMLPart_jsDefaultStatusBarText(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((KHTMLPart*) QtSupport::getQt(env, obj))->jsDefaultStatusBarText();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KHTMLPart_jsStatusBarText(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((KHTMLPart*) QtSupport::getQt(env, obj))->jsStatusBarText();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KHTMLPart_lastModified(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((KHTMLPart*) QtSupport::getQt(env, obj))->lastModified();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLPart_metaObject(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KHTMLPart*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject");
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_metaRefreshEnabled(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLPart*) QtSupport::getQt(env, obj))->metaRefreshEnabled();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_newKHTMLPart__(JNIEnv* env, jobject obj)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KHTMLPartJBridge());
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_newKHTMLPart__Lorg_kde_koala_KHTMLView_2(JNIEnv* env, jobject obj, jobject view)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KHTMLPartJBridge((KHTMLView*) QtSupport::getQt(env, view)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_newKHTMLPart__Lorg_kde_koala_KHTMLView_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject view, jobject parent)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KHTMLPartJBridge((KHTMLView*) QtSupport::getQt(env, view), (TQObject*) QtSupport::getQt(env, parent)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_newKHTMLPart__Lorg_kde_koala_KHTMLView_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject view, jobject parent, jstring name)
{
static TQCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KHTMLPartJBridge((KHTMLView*) QtSupport::getQt(env, view), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_newKHTMLPart__Lorg_kde_koala_KHTMLView_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject view, jobject parent, jstring name, jint prof)
{
static TQCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KHTMLPartJBridge((KHTMLView*) QtSupport::getQt(env, view), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (KHTMLPart::GUIProfile) prof));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_newKHTMLPart__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parentWidget)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KHTMLPartJBridge((TQWidget*) QtSupport::getQt(env, parentWidget)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_newKHTMLPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetname)
{
static TQCString* _qstring_widgetname = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KHTMLPartJBridge((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetname, &_qstring_widgetname)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_newKHTMLPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetname, jobject parent)
{
static TQCString* _qstring_widgetname = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KHTMLPartJBridge((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetname, &_qstring_widgetname), (TQObject*) QtSupport::getQt(env, parent)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_newKHTMLPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetname, jobject parent, jstring name)
{
static TQCString* _qstring_widgetname = 0;
static TQCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KHTMLPartJBridge((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetname, &_qstring_widgetname), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_newKHTMLPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetname, jobject parent, jstring name, jint prof)
{
static TQCString* _qstring_widgetname = 0;
static TQCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KHTMLPartJBridge((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetname, &_qstring_widgetname), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (KHTMLPart::GUIProfile) prof));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_nextAnchor(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLPart*) QtSupport::getQt(env, obj))->nextAnchor();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLPart_nodeUnderMouse(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((KHTMLPart*) QtSupport::getQt(env, obj))->nodeUnderMouse()), "org.kde.koala.Node", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLPart_nonSharedNodeUnderMouse(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((KHTMLPart*) QtSupport::getQt(env, obj))->nonSharedNodeUnderMouse()), "org.kde.koala.Node", TRUE);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_onlyLocalReferences(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLPart*) QtSupport::getQt(env, obj))->onlyLocalReferences();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_openFile(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_openFile();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_openURL(JNIEnv* env, jobject obj, jobject url)
{
	jboolean xret = (jboolean) ((KHTMLPart*) QtSupport::getQt(env, obj))->openURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url));
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KHTMLPart_pageReferrer(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((KHTMLPart*) QtSupport::getQt(env, obj))->pageReferrer();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_paint__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->paint((TQPainter*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_paint__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2I(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jint arg3)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->paint((TQPainter*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2), (int) arg3);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_paint__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2I_3Z(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jint arg3, jbooleanArray arg4)
{
	bool* _bool_arg4 = QtSupport::toBooleanPtr(env, arg4);
	((KHTMLPart*) QtSupport::getQt(env, obj))->paint((TQPainter*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2), (int) arg3,  (bool*) _bool_arg4);
	env->SetBooleanArrayRegion(arg4, 0, 1, (jboolean*) _bool_arg4);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLPart_parentPart(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KHTMLPart*) QtSupport::getQt(env, obj))->parentPart(), "org.kde.koala.KHTMLPart");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLPart_partManager(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KHTMLPart*) QtSupport::getQt(env, obj))->partManager(), "org.kde.koala.PartManager");
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_pluginPageQuestionAsked(JNIEnv* env, jobject obj, jstring mimetype)
{
static TQString* _qstring_mimetype = 0;
	jboolean xret = (jboolean) ((KHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_pluginPageQuestionAsked((const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_pluginsEnabled(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLPart*) QtSupport::getQt(env, obj))->pluginsEnabled();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_preloadScript(JNIEnv* env, jobject obj, jstring url, jstring script)
{
static TQString* _qstring_url = 0;
static TQString* _qstring_script = 0;
	((KHTMLPart*) QtSupport::getQt(env, obj))->preloadScript((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, script, &_qstring_script));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_preloadStyleSheet(JNIEnv* env, jobject obj, jstring url, jstring stylesheet)
{
static TQString* _qstring_url = 0;
static TQString* _qstring_stylesheet = 0;
	((KHTMLPart*) QtSupport::getQt(env, obj))->preloadStyleSheet((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, stylesheet, &_qstring_stylesheet));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_prevAnchor(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLPart*) QtSupport::getQt(env, obj))->prevAnchor();
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KHTMLPart_referrer(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((KHTMLPart*) QtSupport::getQt(env, obj))->referrer();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_restoreState(JNIEnv* env, jobject obj, jobject stream)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->restoreState((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, stream));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_restored(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLPart*) QtSupport::getQt(env, obj))->restored();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_saveState(JNIEnv* env, jobject obj, jobject stream)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->saveState((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, stream));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_scheduleRedirection__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint delay, jstring url)
{
static TQString* _qstring_url = 0;
	((KHTMLPart*) QtSupport::getQt(env, obj))->scheduleRedirection((int) delay, (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_scheduleRedirection__ILjava_lang_String_2Z(JNIEnv* env, jobject obj, jint delay, jstring url, jboolean lockHistory)
{
static TQString* _qstring_url = 0;
	((KHTMLPart*) QtSupport::getQt(env, obj))->scheduleRedirection((int) delay, (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (bool) lockHistory);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_selectAll(JNIEnv* env, jobject obj)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->selectAll();
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KHTMLPart_selectedTextAsHTML(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((KHTMLPart*) QtSupport::getQt(env, obj))->selectedTextAsHTML();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KHTMLPart_selectedText(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((KHTMLPart*) QtSupport::getQt(env, obj))->selectedText();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLPart_selection__(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Range(((KHTMLPart*) QtSupport::getQt(env, obj))->selection()), "org.kde.koala.Range", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_selection__Lorg_kde_koala_Node_2JLorg_kde_koala_Node_2J(JNIEnv* env, jobject obj, jobject startNode, jlong startOffset, jobject endNode, jlong endOffset)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->selection((DOM::Node&)*(DOM::Node*) QtSupport::getQt(env, startNode), (long&) startOffset, (DOM::Node&)*(DOM::Node*) QtSupport::getQt(env, endNode), (long&) endOffset);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_setActiveNode(JNIEnv* env, jobject obj, jobject node)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->setActiveNode((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, node));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_setAutoloadImages(JNIEnv* env, jobject obj, jboolean enable)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->setAutoloadImages((bool) enable);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_setCaretDisplayPolicyNonFocused(JNIEnv* env, jobject obj, jint policy)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->setCaretDisplayPolicyNonFocused((KHTMLPart::CaretDisplayPolicy) policy);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_setCaretMode(JNIEnv* env, jobject obj, jboolean enable)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->setCaretMode((bool) enable);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_setCaretPosition__Lorg_kde_koala_Node_2J(JNIEnv* env, jobject obj, jobject node, jlong offset)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->setCaretPosition((DOM::Node)*(DOM::Node*) QtSupport::getQt(env, node), (long) offset);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_setCaretPosition__Lorg_kde_koala_Node_2JZ(JNIEnv* env, jobject obj, jobject node, jlong offset, jboolean extendSelection)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->setCaretPosition((DOM::Node)*(DOM::Node*) QtSupport::getQt(env, node), (long) offset, (bool) extendSelection);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_setCaretVisible(JNIEnv* env, jobject obj, jboolean show)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->setCaretVisible((bool) show);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_setCharset(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2)
{
static TQString* _qstring_arg1 = 0;
	jboolean xret = (jboolean) ((KHTMLPart*) QtSupport::getQt(env, obj))->setCharset((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) arg2);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_setDNDEnabled(JNIEnv* env, jobject obj, jboolean b)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->setDNDEnabled((bool) b);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_setEditable(JNIEnv* env, jobject obj, jboolean enable)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->setEditable((bool) enable);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_setEncoding__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name)
{
static TQString* _qstring_name = 0;
	jboolean xret = (jboolean) ((KHTMLPart*) QtSupport::getQt(env, obj))->setEncoding((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_setEncoding__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jboolean override)
{
static TQString* _qstring_name = 0;
	jboolean xret = (jboolean) ((KHTMLPart*) QtSupport::getQt(env, obj))->setEncoding((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) override);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_setFixedFont(JNIEnv* env, jobject obj, jstring name)
{
static TQString* _qstring_name = 0;
	((KHTMLPart*) QtSupport::getQt(env, obj))->setFixedFont((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_setFormNotification(JNIEnv* env, jobject obj, jint fn)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->setFormNotification((KHTMLPart::FormNotification) fn);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_setJSDefaultStatusBarText(JNIEnv* env, jobject obj, jstring text)
{
static TQString* _qstring_text = 0;
	((KHTMLPart*) QtSupport::getQt(env, obj))->setJSDefaultStatusBarText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_setJSStatusBarText(JNIEnv* env, jobject obj, jstring text)
{
static TQString* _qstring_text = 0;
	((KHTMLPart*) QtSupport::getQt(env, obj))->setJSStatusBarText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_setJScriptEnabled(JNIEnv* env, jobject obj, jboolean enable)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->setJScriptEnabled((bool) enable);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_setJavaEnabled(JNIEnv* env, jobject obj, jboolean enable)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->setJavaEnabled((bool) enable);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_setMetaRefreshEnabled(JNIEnv* env, jobject obj, jboolean enable)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->setMetaRefreshEnabled((bool) enable);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_setOnlyLocalReferences(JNIEnv* env, jobject obj, jboolean enable)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->setOnlyLocalReferences((bool) enable);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_setPluginPageQuestionAsked(JNIEnv* env, jobject obj, jstring mimetype)
{
static TQString* _qstring_mimetype = 0;
	((KHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_setPluginPageQuestionAsked((const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_setPluginsEnabled(JNIEnv* env, jobject obj, jboolean enable)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->setPluginsEnabled((bool) enable);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_setSelection(JNIEnv* env, jobject obj, jobject arg1)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->setSelection((const DOM::Range&)*(const DOM::Range*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_setStandardFont(JNIEnv* env, jobject obj, jstring name)
{
static TQString* _qstring_name = 0;
	((KHTMLPart*) QtSupport::getQt(env, obj))->setStandardFont((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_setStatusMessagesEnabled(JNIEnv* env, jobject obj, jboolean enable)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->setStatusMessagesEnabled((bool) enable);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_setSuppressedPopupIndicator(JNIEnv* env, jobject obj, jboolean enable, jobject originPart)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->setSuppressedPopupIndicator((bool) enable, (KHTMLPart*) QtSupport::getQt(env, originPart));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_setURLCursor(JNIEnv* env, jobject obj, jobject c)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->setURLCursor((const TQCursor&)*(const TQCursor*) QtSupport::getQt(env, c));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_setUserStyleSheet__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring styleSheet)
{
static TQString* _qstring_styleSheet = 0;
	((KHTMLPart*) QtSupport::getQt(env, obj))->setUserStyleSheet((const TQString&)*(TQString*) QtSupport::toTQString(env, styleSheet, &_qstring_styleSheet));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_setUserStyleSheet__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->setUserStyleSheet((const KURL&)*(const KURL*) QtSupport::getQt(env, url));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_setZoomFactor(JNIEnv* env, jobject obj, jint percent)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->setZoomFactor((int) percent);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLPart_settings(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KHTMLPart*) QtSupport::getQt(env, obj))->settings(), "org.kde.koala.KHTMLSettings");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_showError(JNIEnv* env, jobject obj, jobject job)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->showError((TDEIO::Job*) QtSupport::getQt(env, job));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_show(JNIEnv* env, jobject obj)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->show();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLPart_statusMessagesEnabled(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLPart*) QtSupport::getQt(env, obj))->statusMessagesEnabled();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_stopAnimations(JNIEnv* env, jobject obj)
{
	((KHTMLPart*) QtSupport::getQt(env, obj))->stopAnimations();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_submitFormProxy__Ljava_lang_String_2Ljava_lang_String_2_3BLjava_lang_String_2(JNIEnv* env, jobject obj, jstring action, jstring url, jbyteArray formData, jstring target)
{
static TQCString* _qstring_action = 0;
static TQString* _qstring_url = 0;
static TQByteArray* _qbyteArray_formData = 0;
static TQString* _qstring_target = 0;
	((KHTMLPart*) QtSupport::getQt(env, obj))->submitFormProxy((const char*) QtSupport::toCharString(env, action, &_qstring_action), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, formData, &_qbyteArray_formData), (const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_submitFormProxy__Ljava_lang_String_2Ljava_lang_String_2_3BLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring action, jstring url, jbyteArray formData, jstring target, jstring contentType)
{
static TQCString* _qstring_action = 0;
static TQString* _qstring_url = 0;
static TQByteArray* _qbyteArray_formData = 0;
static TQString* _qstring_target = 0;
static TQString* _qstring_contentType = 0;
	((KHTMLPart*) QtSupport::getQt(env, obj))->submitFormProxy((const char*) QtSupport::toCharString(env, action, &_qstring_action), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, formData, &_qbyteArray_formData), (const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toTQString(env, contentType, &_qstring_contentType));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_submitFormProxy__Ljava_lang_String_2Ljava_lang_String_2_3BLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring action, jstring url, jbyteArray formData, jstring target, jstring contentType, jstring boundary)
{
static TQCString* _qstring_action = 0;
static TQString* _qstring_url = 0;
static TQByteArray* _qbyteArray_formData = 0;
static TQString* _qstring_target = 0;
static TQString* _qstring_contentType = 0;
static TQString* _qstring_boundary = 0;
	((KHTMLPart*) QtSupport::getQt(env, obj))->submitFormProxy((const char*) QtSupport::toCharString(env, action, &_qstring_action), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, formData, &_qbyteArray_formData), (const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toTQString(env, contentType, &_qstring_contentType), (const TQString&)*(TQString*) QtSupport::toTQString(env, boundary, &_qstring_boundary));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLPart_toplevelURL(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KHTMLPart*) QtSupport::getQt(env, obj))->toplevelURL()), "org.kde.koala.KURL", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLPart_urlCursor(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(((KHTMLPart*) QtSupport::getQt(env, obj))->urlCursor()), "org.kde.qt.TQCursor", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_urlSelected__Ljava_lang_String_2IILjava_lang_String_2(JNIEnv* env, jobject obj, jstring url, jint button, jint state, jstring _target)
{
static TQString* _qstring_url = 0;
static TQString* _qstring__target = 0;
	((KHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_urlSelected((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (int) button, (int) state, (const TQString&)*(TQString*) QtSupport::toTQString(env, _target, &_qstring__target));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_urlSelected__Ljava_lang_String_2IILjava_lang_String_2Lorg_kde_koala_URLArgs_2(JNIEnv* env, jobject obj, jstring url, jint button, jint state, jstring _target, jobject args)
{
static TQString* _qstring_url = 0;
static TQString* _qstring__target = 0;
	((KHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_urlSelected((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (int) button, (int) state, (const TQString&)*(TQString*) QtSupport::toTQString(env, _target, &_qstring__target), (KParts::URLArgs)*(KParts::URLArgs*) QtSupport::getQt(env, args));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLPart_view(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KHTMLPart*) QtSupport::getQt(env, obj))->view(), "org.kde.koala.KHTMLView");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_write__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str)
{
static TQCString* _qstring_str = 0;
	((KHTMLPart*) QtSupport::getQt(env, obj))->write((const char*) QtSupport::toCharString(env, str, &_qstring_str));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLPart_write__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring str, jint len)
{
static TQCString* _qstring_str = 0;
	((KHTMLPart*) QtSupport::getQt(env, obj))->write((const char*) QtSupport::toCharString(env, str, &_qstring_str), (int) len);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KHTMLPart_zoomFactor(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KHTMLPart*) QtSupport::getQt(env, obj))->zoomFactor();
	return xret;
}