summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/QTextEdit.cpp
blob: b09258934c3e3ef2476bf7dab0a244728ac6e24b (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
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqrect.h>
#include <tqstring.h>
#include <tqpoint.h>
#include <tqpalette.h>
#include <tqsize.h>
#include <tqbrush.h>
#include <tqtextedit.h>
#include <tqfont.h>
#include <tqstylesheet.h>
#include <tqcolor.h>
#include <tqcstring.h>
#include <tqnamespace.h>

#include <qtjava/QtSupport.h>
#include <qtjava/TQTextEdit.h>

class TQTextEditJBridge : public TQTextEdit
{
public:
	TQTextEditJBridge(const TTQString& arg1,const TTQString& arg2,TTQWidget* arg3,const char* arg4) : TTQTextEdit(arg1,arg2,arg3,arg4) {};
	TQTextEditJBridge(const TTQString& arg1,const TTQString& arg2,TTQWidget* arg3) : TTQTextEdit(arg1,arg2,arg3) {};
	TQTextEditJBridge(const TTQString& arg1,const TTQString& arg2) : TTQTextEdit(arg1,arg2) {};
	TQTextEditJBridge(const TTQString& arg1) : TTQTextEdit(arg1) {};
	TQTextEditJBridge(TTQWidget* arg1,const char* arg2) : TTQTextEdit(arg1,arg2) {};
	TQTextEditJBridge(TTQWidget* arg1) : TTQTextEdit(arg1) {};
	TQTextEditJBridge() : TTQTextEdit() {};
	void public_copy() {
		TTQTextEdit::copy();
		return;
	}
	void public_selectAll() {
		TTQTextEdit::selectAll();
		return;
	}
	void public_zoomIn() {
		TTQTextEdit::zoomIn();
		return;
	}
	void public_zoomOut() {
		TTQTextEdit::zoomOut();
		return;
	}
	void public_sync() {
		TTQTextEdit::sync();
		return;
	}
	void public_undo() {
		TTQTextEdit::undo();
		return;
	}
	void public_redo() {
		TTQTextEdit::redo();
		return;
	}
	void public_cut() {
		TTQTextEdit::cut();
		return;
	}
	void public_paste() {
		TTQTextEdit::paste();
		return;
	}
	void public_clear() {
		TTQTextEdit::clear();
		return;
	}
	void public_del() {
		TTQTextEdit::del();
		return;
	}
	void public_indent() {
		TTQTextEdit::indent();
		return;
	}
	void public_resetFormat() {
		TTQTextEdit::resetFormat();
		return;
	}
	void public_ensureCursorVisible() {
		TTQTextEdit::ensureCursorVisible();
		return;
	}
	void public_removeSelectedText() {
		TTQTextEdit::removeSelectedText();
		return;
	}
	void public_removeSelection() {
		TTQTextEdit::removeSelection();
		return;
	}
	void public_scrollToBottom() {
		TTQTextEdit::scrollToBottom();
		return;
	}
	void protected_repaintChanged() {
		TTQTextEdit::repaintChanged();
		return;
	}
	void protected_updateStyles() {
		TTQTextEdit::updateStyles();
		return;
	}
	void protected_drawContents(TTQPainter* arg1,int arg2,int arg3,int arg4,int arg5) {
		TTQTextEdit::drawContents(arg1,arg2,arg3,arg4,arg5);
		return;
	}
	bool protected_event(TTQEvent* arg1) {
		return (bool) TTQTextEdit::event(arg1);
	}
	void protected_keyPressEvent(TTQKeyEvent* arg1) {
		TTQTextEdit::keyPressEvent(arg1);
		return;
	}
	void protected_resizeEvent(TTQResizeEvent* arg1) {
		TTQTextEdit::resizeEvent(arg1);
		return;
	}
	void protected_viewportResizeEvent(TTQResizeEvent* arg1) {
		TTQTextEdit::viewportResizeEvent(arg1);
		return;
	}
	void protected_contentsMousePressEvent(TTQMouseEvent* arg1) {
		TTQTextEdit::contentsMousePressEvent(arg1);
		return;
	}
	void protected_contentsMouseMoveEvent(TTQMouseEvent* arg1) {
		TTQTextEdit::contentsMouseMoveEvent(arg1);
		return;
	}
	void protected_contentsMouseReleaseEvent(TTQMouseEvent* arg1) {
		TTQTextEdit::contentsMouseReleaseEvent(arg1);
		return;
	}
	void protected_contentsMouseDoubleClickEvent(TTQMouseEvent* arg1) {
		TTQTextEdit::contentsMouseDoubleClickEvent(arg1);
		return;
	}
	void protected_contentsWheelEvent(TTQWheelEvent* arg1) {
		TTQTextEdit::contentsWheelEvent(arg1);
		return;
	}
	void protected_imStartEvent(TTQIMEvent* arg1) {
		TTQTextEdit::imStartEvent(arg1);
		return;
	}
	void protected_imComposeEvent(TTQIMEvent* arg1) {
		TTQTextEdit::imComposeEvent(arg1);
		return;
	}
	void protected_imEndEvent(TTQIMEvent* arg1) {
		TTQTextEdit::imEndEvent(arg1);
		return;
	}
	void protected_contentsDragEnterEvent(TTQDragEnterEvent* arg1) {
		TTQTextEdit::contentsDragEnterEvent(arg1);
		return;
	}
	void protected_contentsDragMoveEvent(TTQDragMoveEvent* arg1) {
		TTQTextEdit::contentsDragMoveEvent(arg1);
		return;
	}
	void protected_contentsDragLeaveEvent(TTQDragLeaveEvent* arg1) {
		TTQTextEdit::contentsDragLeaveEvent(arg1);
		return;
	}
	void protected_contentsDropEvent(TTQDropEvent* arg1) {
		TTQTextEdit::contentsDropEvent(arg1);
		return;
	}
	void protected_contentsContextMenuEvent(TTQContextMenuEvent* arg1) {
		TTQTextEdit::contentsContextMenuEvent(arg1);
		return;
	}
	bool protected_focusNextPrevChild(bool arg1) {
		return (bool) TTQTextEdit::focusNextPrevChild(arg1);
	}
	TTQPopupMenu* protected_createPopupMenu(const TTQPoint& arg1) {
		return (TTQPopupMenu*) TTQTextEdit::createPopupMenu(arg1);
	}
	TTQPopupMenu* protected_createPopupMenu() {
		return (TTQPopupMenu*) TTQTextEdit::createPopupMenu();
	}
	void protected_drawCursor(bool arg1) {
		TTQTextEdit::drawCursor(arg1);
		return;
	}
	void protected_windowActivationChange(bool arg1) {
		TTQTextEdit::windowActivationChange(arg1);
		return;
	}
	void protected_doChangeInterval() {
		TTQTextEdit::doChangeInterval();
		return;
	}
	void protected_sliderReleased() {
		TTQTextEdit::sliderReleased();
		return;
	}
	~TQTextEditJBridge() {QtSupport::qtKeyDeleted(this);}
	void dragLeaveEvent(TTQDragLeaveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) {
			TTQWidget::dragLeaveEvent(arg1);
		}
		return;
	}
	void setMask(const TTQRegion& arg1) {
		if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) {
			TTQWidget::setMask(arg1);
		}
		return;
	}
	void setColor(const TTQColor& arg1) {
		if (!QtSupport::eventDelegate(this,"setColor",(void*)&arg1,"org.kde.qt.TTQColor")) {
			TTQTextEdit::setColor(arg1);
		}
		return;
	}
	void resizeEvent(TTQResizeEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) {
			TTQTextEdit::resizeEvent(arg1);
		}
		return;
	}
	void setFrameRect(const TTQRect& arg1) {
		if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) {
			TTQFrame::setFrameRect(arg1);
		}
		return;
	}
	void mouseDoubleClickEvent(TTQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) {
			TTQScrollView::mouseDoubleClickEvent(arg1);
		}
		return;
	}
	void paletteChange(const TTQPalette& arg1) {
		if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) {
			TTQWidget::paletteChange(arg1);
		}
		return;
	}
	void contentsMouseReleaseEvent(TTQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) {
			TTQTextEdit::contentsMouseReleaseEvent(arg1);
		}
		return;
	}
	void setMimeSourceFactory(TTQMimeSourceFactory* arg1) {
		if (!QtSupport::eventDelegate(this,"setMimeSourceFactory",(void*)arg1,"org.kde.qt.TTQMimeSourceFactory")) {
			TTQTextEdit::setMimeSourceFactory(arg1);
		}
		return;
	}
	void zoomOut() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","zoomOut")) {
			TTQTextEdit::zoomOut();
		}
		return;
	}
	void viewportPaintEvent(TTQPaintEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) {
			TTQScrollView::viewportPaintEvent(arg1);
		}
		return;
	}
	void viewportMouseDoubleClickEvent(TTQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) {
			TTQScrollView::viewportMouseDoubleClickEvent(arg1);
		}
		return;
	}
	void viewportMouseReleaseEvent(TTQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) {
			TTQScrollView::viewportMouseReleaseEvent(arg1);
		}
		return;
	}
	void del() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","del")) {
			TTQTextEdit::del();
		}
		return;
	}
	void contentsDragLeaveEvent(TTQDragLeaveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) {
			TTQTextEdit::contentsDragLeaveEvent(arg1);
		}
		return;
	}
	void setActiveWindow() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","setActiveWindow")) {
			TTQWidget::setActiveWindow();
		}
		return;
	}
	void dragEnterEvent(TTQDragEnterEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) {
			TTQWidget::dragEnterEvent(arg1);
		}
		return;
	}
	void undo() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","undo")) {
			TTQTextEdit::undo();
		}
		return;
	}
	void focusOutEvent(TTQFocusEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) {
			TTQWidget::focusOutEvent(arg1);
		}
		return;
	}
	void setPaper(const TTQBrush& arg1) {
		if (!QtSupport::eventDelegate(this,"setPaper",(void*)&arg1,"org.kde.qt.TTQBrush")) {
			TTQTextEdit::setPaper(arg1);
		}
		return;
	}
	void setFocus() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","setFocus")) {
			TTQWidget::setFocus();
		}
		return;
	}
	void dragMoveEvent(TTQDragMoveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) {
			TTQWidget::dragMoveEvent(arg1);
		}
		return;
	}
	void resetFormat() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","resetFormat")) {
			TTQTextEdit::resetFormat();
		}
		return;
	}
	void zoomIn() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","zoomIn")) {
			TTQTextEdit::zoomIn();
		}
		return;
	}
	void drawFrame(TTQPainter* arg1) {
		if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) {
			TTQFrame::drawFrame(arg1);
		}
		return;
	}
	void hide() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","hide")) {
			TTQWidget::hide();
		}
		return;
	}
	void setPaletteBackgroundColor(const TTQColor& arg1) {
		if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) {
			TTQWidget::setPaletteBackgroundColor(arg1);
		}
		return;
	}
	void viewportResizeEvent(TTQResizeEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) {
			TTQTextEdit::viewportResizeEvent(arg1);
		}
		return;
	}
	void setEraseColor(const TTQColor& arg1) {
		if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) {
			TTQWidget::setEraseColor(arg1);
		}
		return;
	}
	void paintEvent(TTQPaintEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) {
			TTQFrame::paintEvent(arg1);
		}
		return;
	}
	void imStartEvent(TTQIMEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) {
			TTQTextEdit::imStartEvent(arg1);
		}
		return;
	}
	void cut() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","cut")) {
			TTQTextEdit::cut();
		}
		return;
	}
	void scrollToBottom() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","scrollToBottom")) {
			TTQTextEdit::scrollToBottom();
		}
		return;
	}
	void clear() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","clear")) {
			TTQTextEdit::clear();
		}
		return;
	}
	void unsetCursor() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","unsetCursor")) {
			TTQWidget::unsetCursor();
		}
		return;
	}
	void contentsDropEvent(TTQDropEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) {
			TTQTextEdit::contentsDropEvent(arg1);
		}
		return;
	}
	void hideEvent(TTQHideEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) {
			TTQWidget::hideEvent(arg1);
		}
		return;
	}
	void moveEvent(TTQMoveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) {
			TTQWidget::moveEvent(arg1);
		}
		return;
	}
	void polish() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","polish")) {
			TTQWidget::polish();
		}
		return;
	}
	void showMaximized() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","showMaximized")) {
			TTQWidget::showMaximized();
		}
		return;
	}
	void setBackgroundPixmap(const TTQPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) {
			TTQWidget::setBackgroundPixmap(arg1);
		}
		return;
	}
	void showEvent(TTQShowEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) {
			TTQWidget::showEvent(arg1);
		}
		return;
	}
	void viewportContextMenuEvent(TTQContextMenuEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) {
			TTQScrollView::viewportContextMenuEvent(arg1);
		}
		return;
	}
	void setStyleSheet(TTQStyleSheet* arg1) {
		if (!QtSupport::eventDelegate(this,"setStyleSheet",(void*)arg1,"org.kde.qt.TTQStyleSheet")) {
			TTQTextEdit::setStyleSheet(arg1);
		}
		return;
	}
	void viewportDragEnterEvent(TTQDragEnterEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) {
			TTQScrollView::viewportDragEnterEvent(arg1);
		}
		return;
	}
	void keyPressEvent(TTQKeyEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) {
			TTQTextEdit::keyPressEvent(arg1);
		}
		return;
	}
	bool customWhatsThis() {
		return QtSupport::booleanDelegate(this,"customWhatsThis");
	}
	void indent() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","indent")) {
			TTQTextEdit::indent();
		}
		return;
	}
	void setPaletteBackgroundPixmap(const TTQPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) {
			TTQWidget::setPaletteBackgroundPixmap(arg1);
		}
		return;
	}
	void setCornerWidget(TTQWidget* arg1) {
		if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TTQWidget")) {
			TTQScrollView::setCornerWidget(arg1);
		}
		return;
	}
	void contentsDragEnterEvent(TTQDragEnterEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) {
			TTQTextEdit::contentsDragEnterEvent(arg1);
		}
		return;
	}
	void contentsWheelEvent(TTQWheelEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) {
			TTQTextEdit::contentsWheelEvent(arg1);
		}
		return;
	}
	void setCursor(const TTQCursor& arg1) {
		if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) {
			TTQWidget::setCursor(arg1);
		}
		return;
	}
	void closeEvent(TTQCloseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) {
			TTQWidget::closeEvent(arg1);
		}
		return;
	}
	void copy() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","copy")) {
			TTQTextEdit::copy();
		}
		return;
	}
	void setFont(const TTQFont& arg1) {
		if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TTQFont")) {
			TTQTextEdit::setFont(arg1);
		}
		return;
	}
	void customEvent(TTQCustomEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) {
			TTQObject::customEvent(arg1);
		}
		return;
	}
	void contentsDragMoveEvent(TTQDragMoveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) {
			TTQTextEdit::contentsDragMoveEvent(arg1);
		}
		return;
	}
	void enterEvent(TTQEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) {
			TTQWidget::enterEvent(arg1);
		}
		return;
	}
	void timerEvent(TTQTimerEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) {
			TTQObject::timerEvent(arg1);
		}
		return;
	}
	void contentsMouseMoveEvent(TTQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) {
			TTQTextEdit::contentsMouseMoveEvent(arg1);
		}
		return;
	}
	void mouseReleaseEvent(TTQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) {
			TTQScrollView::mouseReleaseEvent(arg1);
		}
		return;
	}
	void setErasePixmap(const TTQPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) {
			TTQWidget::setErasePixmap(arg1);
		}
		return;
	}
	void childEvent(TTQChildEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) {
			TTQObject::childEvent(arg1);
		}
		return;
	}
	void dropEvent(TTQDropEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) {
			TTQWidget::dropEvent(arg1);
		}
		return;
	}
	void leaveEvent(TTQEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) {
			TTQWidget::leaveEvent(arg1);
		}
		return;
	}
	void setIcon(const TTQPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) {
			TTQWidget::setIcon(arg1);
		}
		return;
	}
	void doChangeInterval() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","doChangeInterval")) {
			TTQTextEdit::doChangeInterval();
		}
		return;
	}
	void contentsMousePressEvent(TTQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) {
			TTQTextEdit::contentsMousePressEvent(arg1);
		}
		return;
	}
	void updateMask() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","updateMask")) {
			TTQWidget::updateMask();
		}
		return;
	}
	void showNormal() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","showNormal")) {
			TTQWidget::showNormal();
		}
		return;
	}
	void imComposeEvent(TTQIMEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) {
			TTQTextEdit::imComposeEvent(arg1);
		}
		return;
	}
	void viewportWheelEvent(TTQWheelEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) {
			TTQScrollView::viewportWheelEvent(arg1);
		}
		return;
	}
	void mousePressEvent(TTQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) {
			TTQScrollView::mousePressEvent(arg1);
		}
		return;
	}
	void setCurrentFont(const TTQFont& arg1) {
		if (!QtSupport::eventDelegate(this,"setCurrentFont",(void*)&arg1,"org.kde.qt.TTQFont")) {
			TTQTextEdit::setCurrentFont(arg1);
		}
		return;
	}
	void ensureCursorVisible() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","ensureCursorVisible")) {
			TTQTextEdit::ensureCursorVisible();
		}
		return;
	}
	void mouseMoveEvent(TTQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) {
			TTQScrollView::mouseMoveEvent(arg1);
		}
		return;
	}
	void viewportMouseMoveEvent(TTQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) {
			TTQScrollView::viewportMouseMoveEvent(arg1);
		}
		return;
	}
	void setFocusProxy(TTQWidget* arg1) {
		if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) {
			TTQWidget::setFocusProxy(arg1);
		}
		return;
	}
	void sync() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","sync")) {
			TTQTextEdit::sync();
		}
		return;
	}
	void setBackgroundColor(const TTQColor& arg1) {
		if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) {
			TTQWidget::setBackgroundColor(arg1);
		}
		return;
	}
	void viewportDropEvent(TTQDropEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) {
			TTQScrollView::viewportDropEvent(arg1);
		}
		return;
	}
	void viewportDragMoveEvent(TTQDragMoveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) {
			TTQScrollView::viewportDragMoveEvent(arg1);
		}
		return;
	}
	void adjustSize() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","adjustSize")) {
			TTQWidget::adjustSize();
		}
		return;
	}
	void wheelEvent(TTQWheelEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) {
			TTQScrollView::wheelEvent(arg1);
		}
		return;
	}
	void imEndEvent(TTQIMEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) {
			TTQTextEdit::imEndEvent(arg1);
		}
		return;
	}
	void insertChild(TTQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) {
			TTQObject::insertChild(arg1);
		}
		return;
	}
	void focusInEvent(TTQFocusEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) {
			TTQWidget::focusInEvent(arg1);
		}
		return;
	}
	void tabletEvent(TTQTabletEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) {
			TTQWidget::tabletEvent(arg1);
		}
		return;
	}
	void keyReleaseEvent(TTQKeyEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) {
			TTQWidget::keyReleaseEvent(arg1);
		}
		return;
	}
	void contentsMouseDoubleClickEvent(TTQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) {
			TTQTextEdit::contentsMouseDoubleClickEvent(arg1);
		}
		return;
	}
	void contextMenuEvent(TTQContextMenuEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) {
			TTQScrollView::contextMenuEvent(arg1);
		}
		return;
	}
	void paste() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","paste")) {
			TTQTextEdit::paste();
		}
		return;
	}
	void redo() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","redo")) {
			TTQTextEdit::redo();
		}
		return;
	}
	void viewportDragLeaveEvent(TTQDragLeaveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) {
			TTQScrollView::viewportDragLeaveEvent(arg1);
		}
		return;
	}
	void contentsContextMenuEvent(TTQContextMenuEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) {
			TTQTextEdit::contentsContextMenuEvent(arg1);
		}
		return;
	}
	void setGeometry(const TTQRect& arg1) {
		if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) {
			TTQWidget::setGeometry(arg1);
		}
		return;
	}
	void viewportMousePressEvent(TTQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) {
			TTQScrollView::viewportMousePressEvent(arg1);
		}
		return;
	}
	void showMinimized() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","showMinimized")) {
			TTQWidget::showMinimized();
		}
		return;
	}
};

JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_alignment(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->alignment();
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QTextEdit_anchorAt__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos)
{
	TTQString  _qstring;
	_qstring = ((TTQTextEdit*) QtSupport::getQt(env, obj))->anchorAt((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QTextEdit_anchorAt__Lorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jobject pos, jint a)
{
	TTQString  _qstring;
	_qstring = ((TTQTextEdit*) QtSupport::getQt(env, obj))->anchorAt((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos), (TQt::AnchorAttribute) a);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_append(JNIEnv* env, jobject obj, jstring text)
{
static TTQString* _qstring_text = 0;
	((TTQTextEdit*) QtSupport::getQt(env, obj))->append((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text));
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_autoFormatting(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->autoFormatting();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_bold(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->bold();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_charAt(JNIEnv* env, jobject obj, jobject pos, jintArray para)
{
	int* _int_para = QtSupport::toIntPtr(env, para);
	jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->charAt((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos),  (int*) _int_para);
	env->SetIntArrayRegion(para, 0, 1, (jint *) _int_para);
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_clearParagraphBackground(JNIEnv* env, jobject obj, jint para)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->clearParagraphBackground((int) para);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_clear(JNIEnv* env, jobject obj)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_clear();
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QTextEdit_color(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQColor(((TTQTextEdit*) QtSupport::getQt(env, obj))->color()), "org.kde.qt.TTQColor", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject e)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TTQContextMenuEvent*) QtSupport::getQt(env, e));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TTQDragEnterEvent*) QtSupport::getQt(env, e));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject e)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TTQDragLeaveEvent*) QtSupport::getQt(env, e));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TTQDragMoveEvent*) QtSupport::getQt(env, e));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_contentsDropEvent(JNIEnv* env, jobject obj, jobject e)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TTQDropEvent*) QtSupport::getQt(env, e));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TTQMouseEvent*) QtSupport::getQt(env, e));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_contentsMouseMoveEvent(JNIEnv* env, jobject obj, jobject e)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TTQMouseEvent*) QtSupport::getQt(env, e));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TTQMouseEvent*) QtSupport::getQt(env, e));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject e)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TTQMouseEvent*) QtSupport::getQt(env, e));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_contentsWheelEvent(JNIEnv* env, jobject obj, jobject e)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsWheelEvent((TTQWheelEvent*) QtSupport::getQt(env, e));
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QTextEdit_context(JNIEnv* env, jobject obj)
{
	TTQString  _qstring;
	_qstring = ((TTQTextEdit*) QtSupport::getQt(env, obj))->context();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_copy(JNIEnv* env, jobject obj)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_copy();
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QTextEdit_createPopupMenu__(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_createPopupMenu(), "org.kde.qt.TTQPopupMenu");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QTextEdit_createPopupMenu__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_createPopupMenu((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos)), "org.kde.qt.TTQPopupMenu");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QTextEdit_currentFont(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(((TTQTextEdit*) QtSupport::getQt(env, obj))->currentFont()), "org.kde.qt.TTQFont", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_cut(JNIEnv* env, jobject obj)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_cut();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_del(JNIEnv* env, jobject obj)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_del();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QTextEdit_finalize(env, obj);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_doChangeInterval(JNIEnv* env, jobject obj)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_doChangeInterval();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_doKeyboardAction(JNIEnv* env, jobject obj, jint action)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->doKeyboardAction((TTQTextEdit::KeyboardAction) action);
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QTextEdit_documentTitle(JNIEnv* env, jobject obj)
{
	TTQString  _qstring;
	_qstring = ((TTQTextEdit*) QtSupport::getQt(env, obj))->documentTitle();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_drawContents(JNIEnv* env, jobject obj, jobject p, jint cx, jint cy, jint cw, jint ch)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TTQPainter*) QtSupport::getQt(env, p), (int) cx, (int) cy, (int) cw, (int) ch);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_drawCursor(JNIEnv* env, jobject obj, jboolean visible)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_drawCursor((bool) visible);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_ensureCursorVisible(JNIEnv* env, jobject obj)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_ensureCursorVisible();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e)
{
	jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->eventFilter((TTQObject*) QtSupport::getQt(env, o), (TTQEvent*) QtSupport::getQt(env, e));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_event(JNIEnv* env, jobject obj, jobject e)
{
	jboolean xret = (jboolean) ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_event((TTQEvent*) QtSupport::getQt(env, e));
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QTextEdit_family(JNIEnv* env, jobject obj)
{
	TTQString  _qstring;
	_qstring = ((TTQTextEdit*) QtSupport::getQt(env, obj))->family();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQTextEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) {
		delete (TTQTextEdit*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_find__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring expr, jboolean cs, jboolean wo)
{
static TTQString* _qstring_expr = 0;
	jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->find((const TTQString&)*(TTQString*) QtSupport::toTQString(env, expr, &_qstring_expr), (bool) cs, (bool) wo);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_find__Ljava_lang_String_2ZZZ(JNIEnv* env, jobject obj, jstring expr, jboolean cs, jboolean wo, jboolean forward)
{
static TTQString* _qstring_expr = 0;
	jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->find((const TTQString&)*(TTQString*) QtSupport::toTQString(env, expr, &_qstring_expr), (bool) cs, (bool) wo, (bool) forward);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_find__Ljava_lang_String_2ZZZ_3I(JNIEnv* env, jobject obj, jstring expr, jboolean cs, jboolean wo, jboolean forward, jintArray para)
{
static TTQString* _qstring_expr = 0;
	int* _int_para = QtSupport::toIntPtr(env, para);
	jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->find((const TTQString&)*(TTQString*) QtSupport::toTQString(env, expr, &_qstring_expr), (bool) cs, (bool) wo, (bool) forward,  (int*) _int_para);
	env->SetIntArrayRegion(para, 0, 1, (jint *) _int_para);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_find__Ljava_lang_String_2ZZZ_3I_3I(JNIEnv* env, jobject obj, jstring expr, jboolean cs, jboolean wo, jboolean forward, jintArray para, jintArray index)
{
static TTQString* _qstring_expr = 0;
	int* _int_para = QtSupport::toIntPtr(env, para);
	int* _int_index = QtSupport::toIntPtr(env, index);
	jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->find((const TTQString&)*(TTQString*) QtSupport::toTQString(env, expr, &_qstring_expr), (bool) cs, (bool) wo, (bool) forward,  (int*) _int_para,  (int*) _int_index);
	env->SetIntArrayRegion(para, 0, 1, (jint *) _int_para);
	env->SetIntArrayRegion(index, 0, 1, (jint *) _int_index);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_focusNextPrevChild(JNIEnv* env, jobject obj, jboolean next)
{
	jboolean xret = (jboolean) ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_focusNextPrevChild((bool) next);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QTextEdit_font(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(((TTQTextEdit*) QtSupport::getQt(env, obj))->font()), "org.kde.qt.TTQFont", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_getCursorPosition(JNIEnv* env, jobject obj, jintArray parag, jintArray index)
{
	int* _int_parag = QtSupport::toIntPtr(env, parag);
	int* _int_index = QtSupport::toIntPtr(env, index);
	((TTQTextEdit*) QtSupport::getQt(env, obj))->getCursorPosition( (int*) _int_parag,  (int*) _int_index);
	env->SetIntArrayRegion(parag, 0, 1, (jint *) _int_parag);
	env->SetIntArrayRegion(index, 0, 1, (jint *) _int_index);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_getFormat(JNIEnv* env, jobject obj, jint para, jint index, jobject font, jobject color, jint verticalAlignment)
{
	jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->getFormat((int) para, (int) index, (TTQFont*) QtSupport::getQt(env, font), (TTQColor*) QtSupport::getQt(env, color), (TTQTextEdit::VerticalAlignment*) verticalAlignment);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_getParagraphFormat(JNIEnv* env, jobject obj, jint para, jobject font, jobject color, jint verticalAlignment, jintArray alignment, jint displayMode, jint listStyle, jintArray listDepth)
{
	int* _int_alignment = QtSupport::toIntPtr(env, alignment);
	int* _int_listDepth = QtSupport::toIntPtr(env, listDepth);
	jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->getParagraphFormat((int) para, (TTQFont*) QtSupport::getQt(env, font), (TTQColor*) QtSupport::getQt(env, color), (TTQTextEdit::VerticalAlignment*) verticalAlignment,  (int*) _int_alignment, (TTQStyleSheetItem::DisplayMode*) displayMode, (TTQStyleSheetItem::ListStyle*) listStyle,  (int*) _int_listDepth);
	env->SetIntArrayRegion(alignment, 0, 1, (jint *) _int_alignment);
	env->SetIntArrayRegion(listDepth, 0, 1, (jint *) _int_listDepth);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_getSelection___3I_3I_3I_3I(JNIEnv* env, jobject obj, jintArray paraFrom, jintArray indexFrom, jintArray paraTo, jintArray indexTo)
{
	int* _int_paraFrom = QtSupport::toIntPtr(env, paraFrom);
	int* _int_indexFrom = QtSupport::toIntPtr(env, indexFrom);
	int* _int_paraTo = QtSupport::toIntPtr(env, paraTo);
	int* _int_indexTo = QtSupport::toIntPtr(env, indexTo);
	((TTQTextEdit*) QtSupport::getQt(env, obj))->getSelection( (int*) _int_paraFrom,  (int*) _int_indexFrom,  (int*) _int_paraTo,  (int*) _int_indexTo);
	env->SetIntArrayRegion(paraFrom, 0, 1, (jint *) _int_paraFrom);
	env->SetIntArrayRegion(indexFrom, 0, 1, (jint *) _int_indexFrom);
	env->SetIntArrayRegion(paraTo, 0, 1, (jint *) _int_paraTo);
	env->SetIntArrayRegion(indexTo, 0, 1, (jint *) _int_indexTo);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_getSelection___3I_3I_3I_3II(JNIEnv* env, jobject obj, jintArray paraFrom, jintArray indexFrom, jintArray paraTo, jintArray indexTo, jint selNum)
{
	int* _int_paraFrom = QtSupport::toIntPtr(env, paraFrom);
	int* _int_indexFrom = QtSupport::toIntPtr(env, indexFrom);
	int* _int_paraTo = QtSupport::toIntPtr(env, paraTo);
	int* _int_indexTo = QtSupport::toIntPtr(env, indexTo);
	((TTQTextEdit*) QtSupport::getQt(env, obj))->getSelection( (int*) _int_paraFrom,  (int*) _int_indexFrom,  (int*) _int_paraTo,  (int*) _int_indexTo, (int) selNum);
	env->SetIntArrayRegion(paraFrom, 0, 1, (jint *) _int_paraFrom);
	env->SetIntArrayRegion(indexFrom, 0, 1, (jint *) _int_indexFrom);
	env->SetIntArrayRegion(paraTo, 0, 1, (jint *) _int_paraTo);
	env->SetIntArrayRegion(indexTo, 0, 1, (jint *) _int_indexTo);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_hasSelectedText(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->hasSelectedText();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_heightForWidth(JNIEnv* env, jobject obj, jint w)
{
	jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->heightForWidth((int) w);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_imComposeEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_imComposeEvent((TTQIMEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_imEndEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_imEndEvent((TTQIMEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_imStartEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_imStartEvent((TTQIMEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_indent(JNIEnv* env, jobject obj)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_indent();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_insertAt(JNIEnv* env, jobject obj, jstring text, jint para, jint index)
{
static TTQString* _qstring_text = 0;
	((TTQTextEdit*) QtSupport::getQt(env, obj))->insertAt((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) para, (int) index);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_insertParagraph(JNIEnv* env, jobject obj, jstring text, jint para)
{
static TTQString* _qstring_text = 0;
	((TTQTextEdit*) QtSupport::getQt(env, obj))->insertParagraph((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) para);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text)
{
static TTQString* _qstring_text = 0;
	((TTQTextEdit*) QtSupport::getQt(env, obj))->insert((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint insertionFlags)
{
static TTQString* _qstring_text = 0;
	((TTQTextEdit*) QtSupport::getQt(env, obj))->insert((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (uint) insertionFlags);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jboolean arg2)
{
static TTQString* _qstring_text = 0;
	((TTQTextEdit*) QtSupport::getQt(env, obj))->insert((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) arg2);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring text, jboolean arg2, jboolean arg3)
{
static TTQString* _qstring_text = 0;
	((TTQTextEdit*) QtSupport::getQt(env, obj))->insert((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) arg2, (bool) arg3);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2ZZZ(JNIEnv* env, jobject obj, jstring text, jboolean arg2, jboolean arg3, jboolean arg4)
{
static TTQString* _qstring_text = 0;
	((TTQTextEdit*) QtSupport::getQt(env, obj))->insert((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) arg2, (bool) arg3, (bool) arg4);
	return;
}

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

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_isOverwriteMode(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->isOverwriteMode();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_isReadOnly(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->isReadOnly();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_isRedoAvailable(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->isRedoAvailable();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_isUndoAvailable(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->isUndoAvailable();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_isUndoRedoEnabled(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->isUndoRedoEnabled();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_italic(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->italic();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_keyPressEvent(JNIEnv* env, jobject obj, jobject e)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TTQKeyEvent*) QtSupport::getQt(env, e));
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_length(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->length();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_lineOfChar(JNIEnv* env, jobject obj, jint para, jint chr)
{
	jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->lineOfChar((int) para, (int) chr);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_linesOfParagraph(JNIEnv* env, jobject obj, jint para)
{
	jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->linesOfParagraph((int) para);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_lines(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->lines();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_linkUnderline(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->linkUnderline();
	return xret;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QTextEdit_mimeSourceFactory(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTextEdit*) QtSupport::getQt(env, obj))->mimeSourceFactory(), "org.kde.qt.TTQMimeSourceFactory");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_moveCursor(JNIEnv* env, jobject obj, jint action, jboolean select)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->moveCursor((TTQTextEdit::CursorAction) action, (bool) select);
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_newTQTextEdit__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text)
{
static TTQString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQTextEditJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_newTQTextEdit__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring context)
{
static TTQString* _qstring_text = 0;
static TTQString* _qstring_context = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQTextEditJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, context, &_qstring_context)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_newTQTextEdit__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring text, jstring context, jobject parent)
{
static TTQString* _qstring_text = 0;
static TTQString* _qstring_context = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQTextEditJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, context, &_qstring_context), (TTQWidget*) QtSupport::getQt(env, parent)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_newTQTextEdit__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring context, jobject parent, jstring name)
{
static TTQString* _qstring_text = 0;
static TTQString* _qstring_context = 0;
static TTQCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQTextEditJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, context, &_qstring_context), (TTQWidget*) 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_qt_QTextEdit_newTQTextEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQTextEditJBridge((TTQWidget*) QtSupport::getQt(env, parent)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_newTQTextEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name)
{
static TTQCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQTextEditJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QTextEdit_paper(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQBrush(((TTQTextEdit*) QtSupport::getQt(env, obj))->paper()), "org.kde.qt.TTQBrush", TRUE);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_paragraphAt(JNIEnv* env, jobject obj, jobject pos)
{
	jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->paragraphAt((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos));
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QTextEdit_paragraphBackgroundColor(JNIEnv* env, jobject obj, jint para)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQColor(((TTQTextEdit*) QtSupport::getQt(env, obj))->paragraphBackgroundColor((int) para)), "org.kde.qt.TTQColor", TRUE);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_paragraphLength(JNIEnv* env, jobject obj, jint para)
{
	jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->paragraphLength((int) para);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QTextEdit_paragraphRect(JNIEnv* env, jobject obj, jint para)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQTextEdit*) QtSupport::getQt(env, obj))->paragraphRect((int) para)), "org.kde.qt.TTQRect", TRUE);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_paragraphs(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->paragraphs();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_pasteSubType(JNIEnv* env, jobject obj, jstring subtype)
{
static TTQCString* _qcstring_subtype = 0;
	((TTQTextEdit*) QtSupport::getQt(env, obj))->pasteSubType((const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, subtype, &_qcstring_subtype));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_paste(JNIEnv* env, jobject obj)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_paste();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_placeCursor(JNIEnv* env, jobject obj, jobject pos)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->placeCursor((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos));
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_pointSize(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->pointSize();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_redo(JNIEnv* env, jobject obj)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_redo();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_removeParagraph(JNIEnv* env, jobject obj, jint para)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->removeParagraph((int) para);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_removeSelectedText__(JNIEnv* env, jobject obj)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_removeSelectedText();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_removeSelectedText__I(JNIEnv* env, jobject obj, jint selNum)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->removeSelectedText((int) selNum);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_removeSelection__(JNIEnv* env, jobject obj)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_removeSelection();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_removeSelection__I(JNIEnv* env, jobject obj, jint selNum)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->removeSelection((int) selNum);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_repaintChanged(JNIEnv* env, jobject obj)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_repaintChanged();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_resetFormat(JNIEnv* env, jobject obj)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_resetFormat();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_resizeEvent(JNIEnv* env, jobject obj, jobject e)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) QtSupport::getQt(env, e));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_scrollToAnchor(JNIEnv* env, jobject obj, jstring name)
{
static TTQString* _qstring_name = 0;
	((TTQTextEdit*) QtSupport::getQt(env, obj))->scrollToAnchor((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_scrollToBottom(JNIEnv* env, jobject obj)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_scrollToBottom();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_selectAll__(JNIEnv* env, jobject obj)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_selectAll();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_selectAll__Z(JNIEnv* env, jobject obj, jboolean select)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->selectAll((bool) select);
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setAlignment(JNIEnv* env, jobject obj, jint a)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setAlignment((int) a);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setAutoFormatting(JNIEnv* env, jobject obj, jint features)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setAutoFormatting((uint) features);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setBold(JNIEnv* env, jobject obj, jboolean b)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setBold((bool) b);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setColor(JNIEnv* env, jobject obj, jobject c)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setColor((const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, c));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setCurrentFont(JNIEnv* env, jobject obj, jobject f)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setCurrentFont((const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, f));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setCursorPosition(JNIEnv* env, jobject obj, jint parag, jint index)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setCursorPosition((int) parag, (int) index);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setEnabled(JNIEnv* env, jobject obj, jboolean arg1)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setEnabled((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setFamily(JNIEnv* env, jobject obj, jstring f)
{
static TTQString* _qstring_f = 0;
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setFamily((const TTQString&)*(TTQString*) QtSupport::toTQString(env, f, &_qstring_f));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setFont(JNIEnv* env, jobject obj, jobject f)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setFont((const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, f));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setItalic(JNIEnv* env, jobject obj, jboolean b)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setItalic((bool) b);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setLinkUnderline(JNIEnv* env, jobject obj, jboolean arg1)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setLinkUnderline((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setMimeSourceFactory(JNIEnv* env, jobject obj, jobject factory)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setMimeSourceFactory((TTQMimeSourceFactory*) QtSupport::getQt(env, factory));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setModified(JNIEnv* env, jobject obj, jboolean m)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setModified((bool) m);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setOverwriteMode(JNIEnv* env, jobject obj, jboolean b)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setOverwriteMode((bool) b);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setPalette(JNIEnv* env, jobject obj, jobject arg1)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setPalette((const TTQPalette&)*(const TTQPalette*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setPaper(JNIEnv* env, jobject obj, jobject pap)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setPaper((const TTQBrush&)*(const TTQBrush*) QtSupport::getQt(env, pap));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setParagType(JNIEnv* env, jobject obj, jint dm, jint listStyle)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setParagType((TTQStyleSheetItem::DisplayMode) dm, (TTQStyleSheetItem::ListStyle) listStyle);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setParagraphBackgroundColor(JNIEnv* env, jobject obj, jint para, jobject bg)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setParagraphBackgroundColor((int) para, (const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, bg));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setPointSize(JNIEnv* env, jobject obj, jint s)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setPointSize((int) s);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setReadOnly(JNIEnv* env, jobject obj, jboolean b)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setReadOnly((bool) b);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setSelectionAttributes(JNIEnv* env, jobject obj, jint selNum, jobject back, jboolean invertText)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setSelectionAttributes((int) selNum, (const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, back), (bool) invertText);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setSelection__IIII(JNIEnv* env, jobject obj, jint parag_from, jint index_from, jint parag_to, jint index_to)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setSelection((int) parag_from, (int) index_from, (int) parag_to, (int) index_to);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setSelection__IIIII(JNIEnv* env, jobject obj, jint parag_from, jint index_from, jint parag_to, jint index_to, jint selNum)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setSelection((int) parag_from, (int) index_from, (int) parag_to, (int) index_to, (int) selNum);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setStyleSheet(JNIEnv* env, jobject obj, jobject styleSheet)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setStyleSheet((TTQStyleSheet*) QtSupport::getQt(env, styleSheet));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setTabChangesFocus(JNIEnv* env, jobject obj, jboolean b)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setTabChangesFocus((bool) b);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setTabStopWidth(JNIEnv* env, jobject obj, jint ts)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setTabStopWidth((int) ts);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setTextFormat(JNIEnv* env, jobject obj, jint f)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setTextFormat((TQt::TextFormat) f);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setText__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring txt)
{
static TTQString* _qstring_txt = 0;
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) QtSupport::toTQString(env, txt, &_qstring_txt));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setText__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring txt, jstring context)
{
static TTQString* _qstring_txt = 0;
static TTQString* _qstring_context = 0;
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) QtSupport::toTQString(env, txt, &_qstring_txt), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, context, &_qstring_context));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setUnderline(JNIEnv* env, jobject obj, jboolean b)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setUnderline((bool) b);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setUndoDepth(JNIEnv* env, jobject obj, jint d)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setUndoDepth((int) d);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setUndoRedoEnabled(JNIEnv* env, jobject obj, jboolean b)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setUndoRedoEnabled((bool) b);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setVerticalAlignment(JNIEnv* env, jobject obj, jint a)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setVerticalAlignment((TTQTextEdit::VerticalAlignment) a);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setWordWrap(JNIEnv* env, jobject obj, jint mode)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setWordWrap((TTQTextEdit::WordWrap) mode);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setWrapColumnOrWidth(JNIEnv* env, jobject obj, jint arg1)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setWrapColumnOrWidth((int) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setWrapPolicy(JNIEnv* env, jobject obj, jint policy)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->setWrapPolicy((TTQTextEdit::WrapPolicy) policy);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QTextEdit_sizeHint(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQTextEdit*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_sliderReleased(JNIEnv* env, jobject obj)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_sliderReleased();
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QTextEdit_styleSheet(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTextEdit*) QtSupport::getQt(env, obj))->styleSheet(), "org.kde.qt.TTQStyleSheet");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_sync(JNIEnv* env, jobject obj)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_sync();
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QTextEdit_syntaxHighlighter(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTextEdit*) QtSupport::getQt(env, obj))->syntaxHighlighter(), "org.kde.qt.TTQSyntaxHighlighter");
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_tabChangesFocus(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->tabChangesFocus();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_tabStopWidth(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->tabStopWidth();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_textFormat(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->textFormat();
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QTextEdit_text__(JNIEnv* env, jobject obj)
{
	TTQString  _qstring;
	_qstring = ((TTQTextEdit*) QtSupport::getQt(env, obj))->text();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QTextEdit_text__I(JNIEnv* env, jobject obj, jint para)
{
	TTQString  _qstring;
	_qstring = ((TTQTextEdit*) QtSupport::getQt(env, obj))->text((int) para);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QTextEdit_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1)
{
	TTQString  _qstring;
	(void) cls;
static TTQCString* _qstring_arg1 = 0;
	_qstring = TQTextEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QTextEdit_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2)
{
	TTQString  _qstring;
	(void) cls;
static TTQCString* _qstring_arg1 = 0;
static TTQCString* _qstring_arg2 = 0;
	_qstring = TQTextEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_underline(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->underline();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_undoDepth(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->undoDepth();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_undo(JNIEnv* env, jobject obj)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_undo();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_updateStyles(JNIEnv* env, jobject obj)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_updateStyles();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_viewportResizeEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TTQResizeEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_windowActivationChange(JNIEnv* env, jobject obj, jboolean arg1)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) arg1);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_wordWrap(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->wordWrap();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_wrapColumnOrWidth(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->wrapColumnOrWidth();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_wrapPolicy(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->wrapPolicy();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_zoomIn__(JNIEnv* env, jobject obj)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_zoomIn();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_zoomIn__I(JNIEnv* env, jobject obj, jint range)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->zoomIn((int) range);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_zoomOut__(JNIEnv* env, jobject obj)
{
	((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_zoomOut();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_zoomOut__I(JNIEnv* env, jobject obj, jint range)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->zoomOut((int) range);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_zoomTo(JNIEnv* env, jobject obj, jint size)
{
	((TTQTextEdit*) QtSupport::getQt(env, obj))->zoomTo((int) size);
	return;
}