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 TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : TQTextEdit(arg1,arg2,arg3,arg4) {};
TQTextEditJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3) : TQTextEdit(arg1,arg2,arg3) {};
TQTextEditJBridge(const TQString& arg1,const TQString& arg2) : TQTextEdit(arg1,arg2) {};
TQTextEditJBridge(const TQString& arg1) : TQTextEdit(arg1) {};
TQTextEditJBridge(TQWidget* arg1,const char* arg2) : TQTextEdit(arg1,arg2) {};
TQTextEditJBridge(TQWidget* arg1) : TQTextEdit(arg1) {};
TQTextEditJBridge() : TQTextEdit() {};
void public_copy() {
TQTextEdit::copy();
return;
}
void public_selectAll() {
TQTextEdit::selectAll();
return;
}
void public_zoomIn() {
TQTextEdit::zoomIn();
return;
}
void public_zoomOut() {
TQTextEdit::zoomOut();
return;
}
void public_sync() {
TQTextEdit::sync();
return;
}
void public_undo() {
TQTextEdit::undo();
return;
}
void public_redo() {
TQTextEdit::redo();
return;
}
void public_cut() {
TQTextEdit::cut();
return;
}
void public_paste() {
TQTextEdit::paste();
return;
}
void public_clear() {
TQTextEdit::clear();
return;
}
void public_del() {
TQTextEdit::del();
return;
}
void public_indent() {
TQTextEdit::indent();
return;
}
void public_resetFormat() {
TQTextEdit::resetFormat();
return;
}
void public_ensureCursorVisible() {
TQTextEdit::ensureCursorVisible();
return;
}
void public_removeSelectedText() {
TQTextEdit::removeSelectedText();
return;
}
void public_removeSelection() {
TQTextEdit::removeSelection();
return;
}
void public_scrollToBottom() {
TQTextEdit::scrollToBottom();
return;
}
void protected_repaintChanged() {
TQTextEdit::repaintChanged();
return;
}
void protected_updateStyles() {
TQTextEdit::updateStyles();
return;
}
void protected_drawContents(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5) {
TQTextEdit::drawContents(arg1,arg2,arg3,arg4,arg5);
return;
}
bool protected_event(TQEvent* arg1) {
return (bool) TQTextEdit::event(arg1);
}
void protected_keyPressEvent(TQKeyEvent* arg1) {
TQTextEdit::keyPressEvent(arg1);
return;
}
void protected_resizeEvent(TQResizeEvent* arg1) {
TQTextEdit::resizeEvent(arg1);
return;
}
void protected_viewportResizeEvent(TQResizeEvent* arg1) {
TQTextEdit::viewportResizeEvent(arg1);
return;
}
void protected_contentsMousePressEvent(TQMouseEvent* arg1) {
TQTextEdit::contentsMousePressEvent(arg1);
return;
}
void protected_contentsMouseMoveEvent(TQMouseEvent* arg1) {
TQTextEdit::contentsMouseMoveEvent(arg1);
return;
}
void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) {
TQTextEdit::contentsMouseReleaseEvent(arg1);
return;
}
void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) {
TQTextEdit::contentsMouseDoubleClickEvent(arg1);
return;
}
void protected_contentsWheelEvent(TQWheelEvent* arg1) {
TQTextEdit::contentsWheelEvent(arg1);
return;
}
void protected_imStartEvent(TQIMEvent* arg1) {
TQTextEdit::imStartEvent(arg1);
return;
}
void protected_imComposeEvent(TQIMEvent* arg1) {
TQTextEdit::imComposeEvent(arg1);
return;
}
void protected_imEndEvent(TQIMEvent* arg1) {
TQTextEdit::imEndEvent(arg1);
return;
}
void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) {
TQTextEdit::contentsDragEnterEvent(arg1);
return;
}
void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) {
TQTextEdit::contentsDragMoveEvent(arg1);
return;
}
void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) {
TQTextEdit::contentsDragLeaveEvent(arg1);
return;
}
void protected_contentsDropEvent(TQDropEvent* arg1) {
TQTextEdit::contentsDropEvent(arg1);
return;
}
void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) {
TQTextEdit::contentsContextMenuEvent(arg1);
return;
}
bool protected_focusNextPrevChild(bool arg1) {
return (bool) TQTextEdit::focusNextPrevChild(arg1);
}
TQPopupMenu* protected_createPopupMenu(const TQPoint& arg1) {
return (TQPopupMenu*) TQTextEdit::createPopupMenu(arg1);
}
TQPopupMenu* protected_createPopupMenu() {
return (TQPopupMenu*) TQTextEdit::createPopupMenu();
}
void protected_drawCursor(bool arg1) {
TQTextEdit::drawCursor(arg1);
return;
}
void protected_windowActivationChange(bool arg1) {
TQTextEdit::windowActivationChange(arg1);
return;
}
void protected_doChangeInterval() {
TQTextEdit::doChangeInterval();
return;
}
void protected_sliderReleased() {
TQTextEdit::sliderReleased();
return;
}
~TQTextEditJBridge() {QtSupport::qtKeyDeleted(this);}
void dragLeaveEvent(TQDragLeaveEvent* arg1) {
if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) {
TQWidget::dragLeaveEvent(arg1);
}
return;
}
void setMask(const TQRegion& arg1) {
if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) {
TQWidget::setMask(arg1);
}
return;
}
void setColor(const TQColor& arg1) {
if (!QtSupport::eventDelegate(this,"setColor",(void*)&arg1,"org.kde.qt.TQColor")) {
TQTextEdit::setColor(arg1);
}
return;
}
void resizeEvent(TQResizeEvent* arg1) {
if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) {
TQTextEdit::resizeEvent(arg1);
}
return;
}
void setFrameRect(const TQRect& arg1) {
if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) {
TQFrame::setFrameRect(arg1);
}
return;
}
void mouseDoubleClickEvent(TQMouseEvent* arg1) {
if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
TQScrollView::mouseDoubleClickEvent(arg1);
}
return;
}
void paletteChange(const TQPalette& arg1) {
if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) {
TQWidget::paletteChange(arg1);
}
return;
}
void contentsMouseReleaseEvent(TQMouseEvent* arg1) {
if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
TQTextEdit::contentsMouseReleaseEvent(arg1);
}
return;
}
void setMimeSourceFactory(TQMimeSourceFactory* arg1) {
if (!QtSupport::eventDelegate(this,"setMimeSourceFactory",(void*)arg1,"org.kde.qt.TQMimeSourceFactory")) {
TQTextEdit::setMimeSourceFactory(arg1);
}
return;
}
void zoomOut() {
if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","zoomOut")) {
TQTextEdit::zoomOut();
}
return;
}
void viewportPaintEvent(TQPaintEvent* arg1) {
if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) {
TQScrollView::viewportPaintEvent(arg1);
}
return;
}
void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) {
if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
TQScrollView::viewportMouseDoubleClickEvent(arg1);
}
return;
}
void viewportMouseReleaseEvent(TQMouseEvent* arg1) {
if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
TQScrollView::viewportMouseReleaseEvent(arg1);
}
return;
}
void del() {
if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","del")) {
TQTextEdit::del();
}
return;
}
void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) {
if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) {
TQTextEdit::contentsDragLeaveEvent(arg1);
}
return;
}
void setActiveWindow() {
if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","setActiveWindow")) {
TQWidget::setActiveWindow();
}
return;
}
void dragEnterEvent(TQDragEnterEvent* arg1) {
if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) {
TQWidget::dragEnterEvent(arg1);
}
return;
}
void undo() {
if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","undo")) {
TQTextEdit::undo();
}
return;
}
void focusOutEvent(TQFocusEvent* arg1) {
if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) {
TQWidget::focusOutEvent(arg1);
}
return;
}
void setPaper(const TQBrush& arg1) {
if (!QtSupport::eventDelegate(this,"setPaper",(void*)&arg1,"org.kde.qt.TQBrush")) {
TQTextEdit::setPaper(arg1);
}
return;
}
void setFocus() {
if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","setFocus")) {
TQWidget::setFocus();
}
return;
}
void dragMoveEvent(TQDragMoveEvent* arg1) {
if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) {
TQWidget::dragMoveEvent(arg1);
}
return;
}
void resetFormat() {
if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","resetFormat")) {
TQTextEdit::resetFormat();
}
return;
}
void zoomIn() {
if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","zoomIn")) {
TQTextEdit::zoomIn();
}
return;
}
void drawFrame(TQPainter* arg1) {
if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) {
TQFrame::drawFrame(arg1);
}
return;
}
void hide() {
if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","hide")) {
TQWidget::hide();
}
return;
}
void setPaletteBackgroundColor(const TQColor& arg1) {
if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) {
TQWidget::setPaletteBackgroundColor(arg1);
}
return;
}
void viewportResizeEvent(TQResizeEvent* arg1) {
if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) {
TQTextEdit::viewportResizeEvent(arg1);
}
return;
}
void setEraseColor(const TQColor& arg1) {
if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) {
TQWidget::setEraseColor(arg1);
}
return;
}
void paintEvent(TQPaintEvent* arg1) {
if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) {
TQFrame::paintEvent(arg1);
}
return;
}
void imStartEvent(TQIMEvent* arg1) {
if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) {
TQTextEdit::imStartEvent(arg1);
}
return;
}
void cut() {
if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","cut")) {
TQTextEdit::cut();
}
return;
}
void scrollToBottom() {
if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","scrollToBottom")) {
TQTextEdit::scrollToBottom();
}
return;
}
void clear() {
if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","clear")) {
TQTextEdit::clear();
}
return;
}
void unsetCursor() {
if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","unsetCursor")) {
TQWidget::unsetCursor();
}
return;
}
void contentsDropEvent(TQDropEvent* arg1) {
if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) {
TQTextEdit::contentsDropEvent(arg1);
}
return;
}
void hideEvent(TQHideEvent* arg1) {
if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) {
TQWidget::hideEvent(arg1);
}
return;
}
void moveEvent(TQMoveEvent* arg1) {
if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) {
TQWidget::moveEvent(arg1);
}
return;
}
void polish() {
if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","polish")) {
TQWidget::polish();
}
return;
}
void showMaximized() {
if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","showMaximized")) {
TQWidget::showMaximized();
}
return;
}
void setBackgroundPixmap(const TQPixmap& arg1) {
if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) {
TQWidget::setBackgroundPixmap(arg1);
}
return;
}
void showEvent(TQShowEvent* arg1) {
if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) {
TQWidget::showEvent(arg1);
}
return;
}
void viewportContextMenuEvent(TQContextMenuEvent* arg1) {
if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) {
TQScrollView::viewportContextMenuEvent(arg1);
}
return;
}
void setStyleSheet(TQStyleSheet* arg1) {
if (!QtSupport::eventDelegate(this,"setStyleSheet",(void*)arg1,"org.kde.qt.TQStyleSheet")) {
TQTextEdit::setStyleSheet(arg1);
}
return;
}
void viewportDragEnterEvent(TQDragEnterEvent* arg1) {
if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) {
TQScrollView::viewportDragEnterEvent(arg1);
}
return;
}
void keyPressEvent(TQKeyEvent* arg1) {
if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) {
TQTextEdit::keyPressEvent(arg1);
}
return;
}
bool customWhatsThis() {
return QtSupport::booleanDelegate(this,"customWhatsThis");
}
void indent() {
if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","indent")) {
TQTextEdit::indent();
}
return;
}
void setPaletteBackgroundPixmap(const TQPixmap& arg1) {
if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) {
TQWidget::setPaletteBackgroundPixmap(arg1);
}
return;
}
void setCornerWidget(TQWidget* arg1) {
if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) {
TQScrollView::setCornerWidget(arg1);
}
return;
}
void contentsDragEnterEvent(TQDragEnterEvent* arg1) {
if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) {
TQTextEdit::contentsDragEnterEvent(arg1);
}
return;
}
void contentsWheelEvent(TQWheelEvent* arg1) {
if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) {
TQTextEdit::contentsWheelEvent(arg1);
}
return;
}
void setCursor(const TQCursor& arg1) {
if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) {
TQWidget::setCursor(arg1);
}
return;
}
void closeEvent(TQCloseEvent* arg1) {
if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) {
TQWidget::closeEvent(arg1);
}
return;
}
void copy() {
if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","copy")) {
TQTextEdit::copy();
}
return;
}
void setFont(const TQFont& arg1) {
if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) {
TQTextEdit::setFont(arg1);
}
return;
}
void customEvent(TQCustomEvent* arg1) {
if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) {
TQObject::customEvent(arg1);
}
return;
}
void contentsDragMoveEvent(TQDragMoveEvent* arg1) {
if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) {
TQTextEdit::contentsDragMoveEvent(arg1);
}
return;
}
void enterEvent(TQEvent* arg1) {
if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) {
TQWidget::enterEvent(arg1);
}
return;
}
void timerEvent(TQTimerEvent* arg1) {
if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) {
TQObject::timerEvent(arg1);
}
return;
}
void contentsMouseMoveEvent(TQMouseEvent* arg1) {
if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
TQTextEdit::contentsMouseMoveEvent(arg1);
}
return;
}
void mouseReleaseEvent(TQMouseEvent* arg1) {
if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
TQScrollView::mouseReleaseEvent(arg1);
}
return;
}
void setErasePixmap(const TQPixmap& arg1) {
if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) {
TQWidget::setErasePixmap(arg1);
}
return;
}
void childEvent(TQChildEvent* arg1) {
if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) {
TQObject::childEvent(arg1);
}
return;
}
void dropEvent(TQDropEvent* arg1) {
if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) {
TQWidget::dropEvent(arg1);
}
return;
}
void leaveEvent(TQEvent* arg1) {
if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) {
TQWidget::leaveEvent(arg1);
}
return;
}
void setIcon(const TQPixmap& arg1) {
if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) {
TQWidget::setIcon(arg1);
}
return;
}
void doChangeInterval() {
if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","doChangeInterval")) {
TQTextEdit::doChangeInterval();
}
return;
}
void contentsMousePressEvent(TQMouseEvent* arg1) {
if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
TQTextEdit::contentsMousePressEvent(arg1);
}
return;
}
void updateMask() {
if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","updateMask")) {
TQWidget::updateMask();
}
return;
}
void showNormal() {
if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","showNormal")) {
TQWidget::showNormal();
}
return;
}
void imComposeEvent(TQIMEvent* arg1) {
if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) {
TQTextEdit::imComposeEvent(arg1);
}
return;
}
void viewportWheelEvent(TQWheelEvent* arg1) {
if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) {
TQScrollView::viewportWheelEvent(arg1);
}
return;
}
void mousePressEvent(TQMouseEvent* arg1) {
if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
TQScrollView::mousePressEvent(arg1);
}
return;
}
void setCurrentFont(const TQFont& arg1) {
if (!QtSupport::eventDelegate(this,"setCurrentFont",(void*)&arg1,"org.kde.qt.TQFont")) {
TQTextEdit::setCurrentFont(arg1);
}
return;
}
void ensureCursorVisible() {
if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","ensureCursorVisible")) {
TQTextEdit::ensureCursorVisible();
}
return;
}
void mouseMoveEvent(TQMouseEvent* arg1) {
if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
TQScrollView::mouseMoveEvent(arg1);
}
return;
}
void viewportMouseMoveEvent(TQMouseEvent* arg1) {
if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
TQScrollView::viewportMouseMoveEvent(arg1);
}
return;
}
void setFocusProxy(TQWidget* arg1) {
if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) {
TQWidget::setFocusProxy(arg1);
}
return;
}
void sync() {
if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","sync")) {
TQTextEdit::sync();
}
return;
}
void setBackgroundColor(const TQColor& arg1) {
if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) {
TQWidget::setBackgroundColor(arg1);
}
return;
}
void viewportDropEvent(TQDropEvent* arg1) {
if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) {
TQScrollView::viewportDropEvent(arg1);
}
return;
}
void viewportDragMoveEvent(TQDragMoveEvent* arg1) {
if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) {
TQScrollView::viewportDragMoveEvent(arg1);
}
return;
}
void adjustSize() {
if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","adjustSize")) {
TQWidget::adjustSize();
}
return;
}
void wheelEvent(TQWheelEvent* arg1) {
if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) {
TQScrollView::wheelEvent(arg1);
}
return;
}
void imEndEvent(TQIMEvent* arg1) {
if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) {
TQTextEdit::imEndEvent(arg1);
}
return;
}
void insertChild(TQObject* arg1) {
if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) {
TQObject::insertChild(arg1);
}
return;
}
void focusInEvent(TQFocusEvent* arg1) {
if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) {
TQWidget::focusInEvent(arg1);
}
return;
}
void tabletEvent(TQTabletEvent* arg1) {
if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) {
TQWidget::tabletEvent(arg1);
}
return;
}
void keyReleaseEvent(TQKeyEvent* arg1) {
if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) {
TQWidget::keyReleaseEvent(arg1);
}
return;
}
void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) {
if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
TQTextEdit::contentsMouseDoubleClickEvent(arg1);
}
return;
}
void contextMenuEvent(TQContextMenuEvent* arg1) {
if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) {
TQScrollView::contextMenuEvent(arg1);
}
return;
}
void paste() {
if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","paste")) {
TQTextEdit::paste();
}
return;
}
void redo() {
if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","redo")) {
TQTextEdit::redo();
}
return;
}
void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) {
if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) {
TQScrollView::viewportDragLeaveEvent(arg1);
}
return;
}
void contentsContextMenuEvent(TQContextMenuEvent* arg1) {
if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) {
TQTextEdit::contentsContextMenuEvent(arg1);
}
return;
}
void setGeometry(const TQRect& arg1) {
if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) {
TQWidget::setGeometry(arg1);
}
return;
}
void viewportMousePressEvent(TQMouseEvent* arg1) {
if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) {
TQScrollView::viewportMousePressEvent(arg1);
}
return;
}
void showMinimized() {
if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","showMinimized")) {
TQWidget::showMinimized();
}
return;
}
};
JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_alignment(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQTextEdit*) 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)
{
TQString _qstring;
_qstring = ((TQTextEdit*) QtSupport::getQt(env, obj))->anchorAt((const TQPoint&)*(const TQPoint*) 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)
{
TQString _qstring;
_qstring = ((TQTextEdit*) QtSupport::getQt(env, obj))->anchorAt((const TQPoint&)*(const TQPoint*) 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 TQString* _qstring_text = 0;
((TQTextEdit*) QtSupport::getQt(env, obj))->append((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text));
return;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_autoFormatting(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->autoFormatting();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_bold(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((TQTextEdit*) 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) ((TQTextEdit*) QtSupport::getQt(env, obj))->charAt((const TQPoint&)*(const TQPoint*) 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 = ((TQTextEdit*) 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)
{
((TQTextEdit*) 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 TQColor(((TQTextEdit*) QtSupport::getQt(env, obj))->color()), "org.kde.qt.TQColor", 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((TQContextMenuEvent*) 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((TQDragEnterEvent*) 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((TQDragLeaveEvent*) 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((TQDragMoveEvent*) 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((TQDropEvent*) 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((TQMouseEvent*) 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((TQMouseEvent*) 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((TQMouseEvent*) 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((TQMouseEvent*) 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((TQWheelEvent*) QtSupport::getQt(env, e));
return;
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QTextEdit_context(JNIEnv* env, jobject obj)
{
TQString _qstring;
_qstring = ((TQTextEdit*) 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.TQPopupMenu");
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 TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)), "org.kde.qt.TQPopupMenu");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QTextEdit_currentFont(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TQTextEdit*) QtSupport::getQt(env, obj))->currentFont()), "org.kde.qt.TQFont", 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)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->doKeyboardAction((TQTextEdit::KeyboardAction) action);
return;
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QTextEdit_documentTitle(JNIEnv* env, jobject obj)
{
TQString _qstring;
_qstring = ((TQTextEdit*) 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((TQPainter*) 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) ((TQTextEdit*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) 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((TQEvent*) QtSupport::getQt(env, e));
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QTextEdit_family(JNIEnv* env, jobject obj)
{
TQString _qstring;
_qstring = ((TQTextEdit*) 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) && ((TQWidget*)(TQTextEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) {
delete (TQTextEdit*)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 TQString* _qstring_expr = 0;
jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->find((const TQString&)*(TQString*) 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 TQString* _qstring_expr = 0;
jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->find((const TQString&)*(TQString*) 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 TQString* _qstring_expr = 0;
int* _int_para = QtSupport::toIntPtr(env, para);
jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->find((const TQString&)*(TQString*) 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 TQString* _qstring_expr = 0;
int* _int_para = QtSupport::toIntPtr(env, para);
int* _int_index = QtSupport::toIntPtr(env, index);
jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->find((const TQString&)*(TQString*) 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 TQFont(((TQTextEdit*) QtSupport::getQt(env, obj))->font()), "org.kde.qt.TQFont", 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);
((TQTextEdit*) 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) ((TQTextEdit*) QtSupport::getQt(env, obj))->getFormat((int) para, (int) index, (TQFont*) QtSupport::getQt(env, font), (TQColor*) QtSupport::getQt(env, color), (TQTextEdit::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) ((TQTextEdit*) QtSupport::getQt(env, obj))->getParagraphFormat((int) para, (TQFont*) QtSupport::getQt(env, font), (TQColor*) QtSupport::getQt(env, color), (TQTextEdit::VerticalAlignment*) verticalAlignment, (int*) _int_alignment, (TQStyleSheetItem::DisplayMode*) displayMode, (TQStyleSheetItem::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);
((TQTextEdit*) 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);
((TQTextEdit*) 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) ((TQTextEdit*) 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) ((TQTextEdit*) 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((TQIMEvent*) 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((TQIMEvent*) 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((TQIMEvent*) 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 TQString* _qstring_text = 0;
((TQTextEdit*) QtSupport::getQt(env, obj))->insertAt((const TQString&)*(TQString*) 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 TQString* _qstring_text = 0;
((TQTextEdit*) QtSupport::getQt(env, obj))->insertParagraph((const TQString&)*(TQString*) 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 TQString* _qstring_text = 0;
((TQTextEdit*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) 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 TQString* _qstring_text = 0;
((TQTextEdit*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) 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 TQString* _qstring_text = 0;
((TQTextEdit*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) 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 TQString* _qstring_text = 0;
((TQTextEdit*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) 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 TQString* _qstring_text = 0;
((TQTextEdit*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) 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) ((TQTextEdit*) QtSupport::getQt(env, obj))->isModified();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_isOverwriteMode(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->isOverwriteMode();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_isReadOnly(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->isReadOnly();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_isRedoAvailable(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->isRedoAvailable();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_isUndoAvailable(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->isUndoAvailable();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_isUndoRedoEnabled(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->isUndoRedoEnabled();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_italic(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((TQTextEdit*) 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((TQKeyEvent*) QtSupport::getQt(env, e));
return;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_length(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQTextEdit*) 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) ((TQTextEdit*) 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) ((TQTextEdit*) 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) ((TQTextEdit*) QtSupport::getQt(env, obj))->lines();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_linkUnderline(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((TQTextEdit*) 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*)((TQTextEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QTextEdit_mimeSourceFactory(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextEdit*) QtSupport::getQt(env, obj))->mimeSourceFactory(), "org.kde.qt.TQMimeSourceFactory");
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_moveCursor(JNIEnv* env, jobject obj, jint action, jboolean select)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->moveCursor((TQTextEdit::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 TQString* _qstring_text = 0;
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQTextEditJBridge((const TQString&)*(TQString*) 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 TQString* _qstring_text = 0;
static TQString* _qstring_context = 0;
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQTextEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) 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 TQString* _qstring_text = 0;
static TQString* _qstring_context = 0;
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQTextEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context), (TQWidget*) 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 TQString* _qstring_text = 0;
static TQString* _qstring_context = 0;
static TQCString* _qstring_name = 0;
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQTextEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context), (TQWidget*) 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((TQWidget*) 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 TQCString* _qstring_name = 0;
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQTextEditJBridge((TQWidget*) 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 TQBrush(((TQTextEdit*) QtSupport::getQt(env, obj))->paper()), "org.kde.qt.TQBrush", TRUE);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_paragraphAt(JNIEnv* env, jobject obj, jobject pos)
{
jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->paragraphAt((const TQPoint&)*(const TQPoint*) 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 TQColor(((TQTextEdit*) QtSupport::getQt(env, obj))->paragraphBackgroundColor((int) para)), "org.kde.qt.TQColor", TRUE);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_paragraphLength(JNIEnv* env, jobject obj, jint para)
{
jint xret = (jint) ((TQTextEdit*) 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 TQRect(((TQTextEdit*) QtSupport::getQt(env, obj))->paragraphRect((int) para)), "org.kde.qt.TQRect", TRUE);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_paragraphs(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->paragraphs();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_pasteSubType(JNIEnv* env, jobject obj, jstring subtype)
{
static TQCString* _qcstring_subtype = 0;
((TQTextEdit*) QtSupport::getQt(env, obj))->pasteSubType((const TQCString&)*(TQCString*) 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)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->placeCursor((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos));
return;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_pointSize(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQTextEdit*) 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)
{
((TQTextEdit*) 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)
{
((TQTextEdit*) 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)
{
((TQTextEdit*) 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((TQResizeEvent*) QtSupport::getQt(env, e));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_scrollToAnchor(JNIEnv* env, jobject obj, jstring name)
{
static TQString* _qstring_name = 0;
((TQTextEdit*) QtSupport::getQt(env, obj))->scrollToAnchor((const TQString&)*(TQString*) 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)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->selectAll((bool) select);
return;
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QTextEdit_selectedText(JNIEnv* env, jobject obj)
{
TQString _qstring;
_qstring = ((TQTextEdit*) 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)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->setAlignment((int) a);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setAutoFormatting(JNIEnv* env, jobject obj, jint features)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->setAutoFormatting((uint) features);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setBold(JNIEnv* env, jobject obj, jboolean b)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->setBold((bool) b);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setColor(JNIEnv* env, jobject obj, jobject c)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setCurrentFont(JNIEnv* env, jobject obj, jobject f)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->setCurrentFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, f));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setCursorPosition(JNIEnv* env, jobject obj, jint parag, jint index)
{
((TQTextEdit*) 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)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->setEnabled((bool) arg1);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setFamily(JNIEnv* env, jobject obj, jstring f)
{
static TQString* _qstring_f = 0;
((TQTextEdit*) QtSupport::getQt(env, obj))->setFamily((const TQString&)*(TQString*) QtSupport::toTQString(env, f, &_qstring_f));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setFont(JNIEnv* env, jobject obj, jobject f)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, f));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setItalic(JNIEnv* env, jobject obj, jboolean b)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->setItalic((bool) b);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setLinkUnderline(JNIEnv* env, jobject obj, jboolean arg1)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->setLinkUnderline((bool) arg1);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setMimeSourceFactory(JNIEnv* env, jobject obj, jobject factory)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->setMimeSourceFactory((TQMimeSourceFactory*) QtSupport::getQt(env, factory));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setModified(JNIEnv* env, jobject obj, jboolean m)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->setModified((bool) m);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setOverwriteMode(JNIEnv* env, jobject obj, jboolean b)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->setOverwriteMode((bool) b);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setPalette(JNIEnv* env, jobject obj, jobject arg1)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setPaper(JNIEnv* env, jobject obj, jobject pap)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->setPaper((const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, pap));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setParagType(JNIEnv* env, jobject obj, jint dm, jint listStyle)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->setParagType((TQStyleSheetItem::DisplayMode) dm, (TQStyleSheetItem::ListStyle) listStyle);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setParagraphBackgroundColor(JNIEnv* env, jobject obj, jint para, jobject bg)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->setParagraphBackgroundColor((int) para, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bg));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setPointSize(JNIEnv* env, jobject obj, jint s)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->setPointSize((int) s);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setReadOnly(JNIEnv* env, jobject obj, jboolean b)
{
((TQTextEdit*) 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)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->setSelectionAttributes((int) selNum, (const TQColor&)*(const TQColor*) 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)
{
((TQTextEdit*) 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)
{
((TQTextEdit*) 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)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->setStyleSheet((TQStyleSheet*) QtSupport::getQt(env, styleSheet));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setTabChangesFocus(JNIEnv* env, jobject obj, jboolean b)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->setTabChangesFocus((bool) b);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setTabStopWidth(JNIEnv* env, jobject obj, jint ts)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->setTabStopWidth((int) ts);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setTextFormat(JNIEnv* env, jobject obj, jint f)
{
((TQTextEdit*) 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 TQString* _qstring_txt = 0;
((TQTextEdit*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) 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 TQString* _qstring_txt = 0;
static TQString* _qstring_context = 0;
((TQTextEdit*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setUnderline(JNIEnv* env, jobject obj, jboolean b)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->setUnderline((bool) b);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setUndoDepth(JNIEnv* env, jobject obj, jint d)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->setUndoDepth((int) d);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setUndoRedoEnabled(JNIEnv* env, jobject obj, jboolean b)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->setUndoRedoEnabled((bool) b);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setVerticalAlignment(JNIEnv* env, jobject obj, jint a)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->setVerticalAlignment((TQTextEdit::VerticalAlignment) a);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setWordWrap(JNIEnv* env, jobject obj, jint mode)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->setWordWrap((TQTextEdit::WordWrap) mode);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setWrapColumnOrWidth(JNIEnv* env, jobject obj, jint arg1)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->setWrapColumnOrWidth((int) arg1);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_setWrapPolicy(JNIEnv* env, jobject obj, jint policy)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->setWrapPolicy((TQTextEdit::WrapPolicy) policy);
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QTextEdit_sizeHint(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQTextEdit*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", 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*)((TQTextEdit*) QtSupport::getQt(env, obj))->styleSheet(), "org.kde.qt.TQStyleSheet");
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*)((TQTextEdit*) QtSupport::getQt(env, obj))->syntaxHighlighter(), "org.kde.qt.TQSyntaxHighlighter");
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QTextEdit_tabChangesFocus(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->tabChangesFocus();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_tabStopWidth(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->tabStopWidth();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_textFormat(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->textFormat();
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QTextEdit_text__(JNIEnv* env, jobject obj)
{
TQString _qstring;
_qstring = ((TQTextEdit*) 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)
{
TQString _qstring;
_qstring = ((TQTextEdit*) 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)
{
TQString _qstring;
(void) cls;
static TQCString* _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)
{
TQString _qstring;
(void) cls;
static TQCString* _qstring_arg1 = 0;
static TQCString* _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) ((TQTextEdit*) QtSupport::getQt(env, obj))->underline();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_undoDepth(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQTextEdit*) 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((TQResizeEvent*) 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) ((TQTextEdit*) QtSupport::getQt(env, obj))->wordWrap();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_wrapColumnOrWidth(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->wrapColumnOrWidth();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QTextEdit_wrapPolicy(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQTextEdit*) 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)
{
((TQTextEdit*) 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)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->zoomOut((int) range);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QTextEdit_zoomTo(JNIEnv* env, jobject obj, jint size)
{
((TQTextEdit*) QtSupport::getQt(env, obj))->zoomTo((int) size);
return;
}
|