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
|
class pyqtSignal():
def connect(self, targetSignal): pass
def emit(self, *args): pass
from QtCore import *
class KTextEditor():
""""""
def createPlugin(self):
'''static QObject KTextEditor.createPlugin()'''
return QObject()
def editor(self):
'''static str KTextEditor.editor()'''
return str()
class Document(KParts.ReadWritePart):
""""""
def __init__(self):
'''QObject KTextEditor.Document.__init__()'''
return QObject()
def variableInterface(self):
'''KTextEditor.VariableInterface KTextEditor.Document.variableInterface()'''
return KTextEditor.VariableInterface()
def textHintInterface(self):
'''KTextEditor.TextHintInterface KTextEditor.Document.textHintInterface()'''
return KTextEditor.TextHintInterface()
def templateInterface(self):
'''KTextEditor.TemplateInterface KTextEditor.Document.templateInterface()'''
return KTextEditor.TemplateInterface()
def smartInterface(self):
'''KTextEditor.SmartInterface KTextEditor.Document.smartInterface()'''
return KTextEditor.SmartInterface()
def searchInterface(self):
'''KTextEditor.SearchInterface KTextEditor.Document.searchInterface()'''
return KTextEditor.SearchInterface()
def modificationInterface(self):
'''KTextEditor.ModificationInterface KTextEditor.Document.modificationInterface()'''
return KTextEditor.ModificationInterface()
def markInterface(self):
'''KTextEditor.MarkInterface KTextEditor.Document.markInterface()'''
return KTextEditor.MarkInterface()
def setOpeningErrorMessage(self):
'''QString KTextEditor.Document.setOpeningErrorMessage()'''
return QString()
def setOpeningError(self):
'''bool KTextEditor.Document.setOpeningError()'''
return bool()
def openingErrorMessage(self):
'''QString KTextEditor.Document.openingErrorMessage()'''
return QString()
def openingError(self):
'''bool KTextEditor.Document.openingError()'''
return bool()
def suppressOpeningErrorDialogs(self):
'''bool KTextEditor.Document.suppressOpeningErrorDialogs()'''
return bool()
def setSuppressOpeningErrorDialogs(self):
'''bool KTextEditor.Document.setSuppressOpeningErrorDialogs()'''
return bool()
highlightingModeChanged = pyqtSignal() # void highlightingModeChanged(KTextEditor::Document *) - signal
modeChanged = pyqtSignal() # void modeChanged(KTextEditor::Document *) - signal
def modeSection(self):
'''abstract int KTextEditor.Document.modeSection()'''
return int()
def highlightingModeSection(self):
'''abstract int KTextEditor.Document.highlightingModeSection()'''
return int()
def setHighlightingMode(self):
'''abstract QString KTextEditor.Document.setHighlightingMode()'''
return QString()
def setMode(self):
'''abstract QString KTextEditor.Document.setMode()'''
return QString()
def highlightingModes(self):
'''abstract QStringList KTextEditor.Document.highlightingModes()'''
return QStringList()
def modes(self):
'''abstract QStringList KTextEditor.Document.modes()'''
return QStringList()
def highlightingMode(self):
'''abstract QString KTextEditor.Document.highlightingMode()'''
return QString()
def mode(self):
'''abstract QString KTextEditor.Document.mode()'''
return QString()
aboutToClose = pyqtSignal() # void aboutToClose(KTextEditor::Document *) - signal
textRemoved = pyqtSignal() # void textRemoved(KTextEditor::Document *,const KTextEditor::Rangeamp;) - signal
textInserted = pyqtSignal() # void textInserted(KTextEditor::Document *,const KTextEditor::Rangeamp;) - signal
textChanged = pyqtSignal() # void textChanged(KTextEditor::Document *) - signal
textChanged = pyqtSignal() # void textChanged(KTextEditor::Document *,const KTextEditor::Rangeamp;,const KTextEditor::Rangeamp;) - signal
def removeLine(self):
'''abstract int KTextEditor.Document.removeLine()'''
return int()
def insertLines(self):
'''abstract QStringList KTextEditor.Document.insertLines()'''
return QStringList()
def insertLine(self):
'''abstract QString KTextEditor.Document.insertLine()'''
return QString()
def cursorInText(self):
'''KTextEditor.Cursor KTextEditor.Document.cursorInText()'''
return KTextEditor.Cursor()
def removeText(self):
'''abstract bool KTextEditor.Document.removeText()'''
return bool()
def replaceText(self):
'''bool KTextEditor.Document.replaceText()'''
return bool()
def replaceText(self):
'''bool KTextEditor.Document.replaceText()'''
return bool()
def insertText(self):
'''abstract bool KTextEditor.Document.insertText()'''
return bool()
def insertText(self):
'''abstract bool KTextEditor.Document.insertText()'''
return bool()
def clear(self):
'''abstract bool KTextEditor.Document.clear()'''
return bool()
def setText(self):
'''abstract QString KTextEditor.Document.setText()'''
return QString()
def setText(self):
'''abstract QStringList KTextEditor.Document.setText()'''
return QStringList()
def endOfLine(self):
'''int KTextEditor.Document.endOfLine()'''
return int()
def lineLength(self):
'''abstract int KTextEditor.Document.lineLength()'''
return int()
def isEmpty(self):
'''bool KTextEditor.Document.isEmpty()'''
return bool()
def totalCharacters(self):
'''abstract int KTextEditor.Document.totalCharacters()'''
return int()
def documentRange(self):
'''KTextEditor.Range KTextEditor.Document.documentRange()'''
return KTextEditor.Range()
def documentEnd(self):
'''abstract KTextEditor.Cursor KTextEditor.Document.documentEnd()'''
return KTextEditor.Cursor()
def lines(self):
'''abstract int KTextEditor.Document.lines()'''
return int()
def line(self):
'''abstract int KTextEditor.Document.line()'''
return int()
def textLines(self):
'''abstract bool KTextEditor.Document.textLines()'''
return bool()
def character(self):
'''abstract KTextEditor.Cursor KTextEditor.Document.character()'''
return KTextEditor.Cursor()
def text(self):
'''abstract QString KTextEditor.Document.text()'''
return QString()
def text(self):
'''abstract bool KTextEditor.Document.text()'''
return bool()
def endEditing(self):
'''abstract bool KTextEditor.Document.endEditing()'''
return bool()
def startEditing(self):
'''abstract bool KTextEditor.Document.startEditing()'''
return bool()
def documentSaveAs(self):
'''abstract bool KTextEditor.Document.documentSaveAs()'''
return bool()
def documentSave(self):
'''abstract bool KTextEditor.Document.documentSave()'''
return bool()
def documentReload(self):
'''abstract bool KTextEditor.Document.documentReload()'''
return bool()
def encoding(self):
'''abstract QString KTextEditor.Document.encoding()'''
return QString()
def setEncoding(self):
'''abstract QString KTextEditor.Document.setEncoding()'''
return QString()
modifiedChanged = pyqtSignal() # void modifiedChanged(KTextEditor::Document *) - signal
documentUrlChanged = pyqtSignal() # void documentUrlChanged(KTextEditor::Document *) - signal
documentNameChanged = pyqtSignal() # void documentNameChanged(KTextEditor::Document *) - signal
def mimeType(self):
'''abstract QString KTextEditor.Document.mimeType()'''
return QString()
def documentName(self):
'''abstract QString KTextEditor.Document.documentName()'''
return QString()
viewCreated = pyqtSignal() # void viewCreated(KTextEditor::Document *,KTextEditor::View *) - signal
def views(self):
'''abstract list-of-KTextEditor.View KTextEditor.Document.views()'''
return [KTextEditor.View()]
def activeView(self):
'''abstract KTextEditor.View KTextEditor.Document.activeView()'''
return KTextEditor.View()
def createView(self):
'''abstract QWidget KTextEditor.Document.createView()'''
return QWidget()
def editor(self):
'''abstract KTextEditor.Editor KTextEditor.Document.editor()'''
return KTextEditor.Editor()
class Attribute():
""""""
class Effects():
""""""
def __init__(self):
'''KTextEditor.Attribute.Effects KTextEditor.Attribute.Effects.__init__()'''
return KTextEditor.Attribute.Effects()
def __init__(self):
'''int KTextEditor.Attribute.Effects.__init__()'''
return int()
def __init__(self):
'''void KTextEditor.Attribute.Effects.__init__()'''
def __bool__(self):
'''int KTextEditor.Attribute.Effects.__bool__()'''
return int()
def __ne__(self, f):
'''bool KTextEditor.Attribute.Effects.__ne__(KTextEditor.Attribute.Effects f)'''
return bool()
def __eq__(self, f):
'''bool KTextEditor.Attribute.Effects.__eq__(KTextEditor.Attribute.Effects f)'''
return bool()
def __invert__(self):
'''KTextEditor.Attribute.Effects KTextEditor.Attribute.Effects.__invert__()'''
return KTextEditor.Attribute.Effects()
def __and__(self, mask):
'''KTextEditor.Attribute.Effects KTextEditor.Attribute.Effects.__and__(int mask)'''
return KTextEditor.Attribute.Effects()
def __xor__(self, f):
'''KTextEditor.Attribute.Effects KTextEditor.Attribute.Effects.__xor__(KTextEditor.Attribute.Effects f)'''
return KTextEditor.Attribute.Effects()
def __xor__(self, f):
'''KTextEditor.Attribute.Effects KTextEditor.Attribute.Effects.__xor__(int f)'''
return KTextEditor.Attribute.Effects()
def __or__(self, f):
'''KTextEditor.Attribute.Effects KTextEditor.Attribute.Effects.__or__(KTextEditor.Attribute.Effects f)'''
return KTextEditor.Attribute.Effects()
def __or__(self, f):
'''KTextEditor.Attribute.Effects KTextEditor.Attribute.Effects.__or__(int f)'''
return KTextEditor.Attribute.Effects()
def __int__(self):
'''int KTextEditor.Attribute.Effects.__int__()'''
return int()
def __ixor__(self, f):
'''KTextEditor.Attribute.Effects KTextEditor.Attribute.Effects.__ixor__(KTextEditor.Attribute.Effects f)'''
return KTextEditor.Attribute.Effects()
def __ior__(self, f):
'''KTextEditor.Attribute.Effects KTextEditor.Attribute.Effects.__ior__(KTextEditor.Attribute.Effects f)'''
return KTextEditor.Attribute.Effects()
def __iand__(self, mask):
'''KTextEditor.Attribute.Effects KTextEditor.Attribute.Effects.__iand__(int mask)'''
return KTextEditor.Attribute.Effects()
class View(QWidget, KXMLGUIClient):
""""""
# Enum KTextEditor.View.EditMode
EditInsert = 0
EditOverwrite = 0
def __init__(self):
'''QWidget KTextEditor.View.__init__()'''
return QWidget()
def textHintInterface(self):
'''KTextEditor.TextHintInterface KTextEditor.View.textHintInterface()'''
return KTextEditor.TextHintInterface()
def sessionConfigInterface(self):
'''KTextEditor.SessionConfigInterface KTextEditor.View.sessionConfigInterface()'''
return KTextEditor.SessionConfigInterface()
def codeCompletionInterface(self):
'''KTextEditor.CodeCompletionInterface KTextEditor.View.codeCompletionInterface()'''
return KTextEditor.CodeCompletionInterface()
def insertText(self):
'''QString KTextEditor.View.insertText()'''
return QString()
selectionChanged = pyqtSignal() # void selectionChanged(KTextEditor::View *) - signal
def blockSelection(self):
'''abstract bool KTextEditor.View.blockSelection()'''
return bool()
def setBlockSelection(self):
'''abstract bool KTextEditor.View.setBlockSelection()'''
return bool()
def removeSelectionText(self):
'''abstract bool KTextEditor.View.removeSelectionText()'''
return bool()
def removeSelection(self):
'''abstract bool KTextEditor.View.removeSelection()'''
return bool()
def selectionText(self):
'''abstract QString KTextEditor.View.selectionText()'''
return QString()
def selectionRange(self):
'''abstract KTextEditor.Range KTextEditor.View.selectionRange()'''
return KTextEditor.Range()
def selection(self):
'''abstract bool KTextEditor.View.selection()'''
return bool()
def setSelection(self):
'''abstract KTextEditor.Range KTextEditor.View.setSelection()'''
return KTextEditor.Range()
def setSelection(self):
'''bool KTextEditor.View.setSelection()'''
return bool()
mousePositionChanged = pyqtSignal() # void mousePositionChanged(KTextEditor::View *,const KTextEditor::Cursoramp;) - signal
def setMouseTrackingEnabled(self):
'''abstract bool KTextEditor.View.setMouseTrackingEnabled()'''
return bool()
def mouseTrackingEnabled(self):
'''abstract bool KTextEditor.View.mouseTrackingEnabled()'''
return bool()
horizontalScrollPositionChanged = pyqtSignal() # void horizontalScrollPositionChanged(KTextEditor::View *) - signal
verticalScrollPositionChanged = pyqtSignal() # void verticalScrollPositionChanged(KTextEditor::View *,const KTextEditor::Cursoramp;) - signal
cursorPositionChanged = pyqtSignal() # void cursorPositionChanged(KTextEditor::View *,const KTextEditor::Cursoramp;) - signal
def cursorPositionCoordinates(self):
'''abstract QPoint KTextEditor.View.cursorPositionCoordinates()'''
return QPoint()
def cursorToCoordinate(self):
'''abstract KTextEditor.Cursor KTextEditor.View.cursorToCoordinate()'''
return KTextEditor.Cursor()
def cursorPositionVirtual(self):
'''abstract KTextEditor.Cursor KTextEditor.View.cursorPositionVirtual()'''
return KTextEditor.Cursor()
def cursorPosition(self):
'''abstract KTextEditor.Cursor KTextEditor.View.cursorPosition()'''
return KTextEditor.Cursor()
def setCursorPosition(self):
'''abstract KTextEditor.Cursor KTextEditor.View.setCursorPosition()'''
return KTextEditor.Cursor()
contextMenuAboutToShow = pyqtSignal() # void contextMenuAboutToShow(KTextEditor::View *,QMenu *) - signal
def defaultContextMenu(self):
'''abstract QMenu KTextEditor.View.defaultContextMenu()'''
return QMenu()
def contextMenu(self):
'''abstract QMenu KTextEditor.View.contextMenu()'''
return QMenu()
def setContextMenu(self):
'''abstract QMenu KTextEditor.View.setContextMenu()'''
return QMenu()
textInserted = pyqtSignal() # void textInserted(KTextEditor::View *,const KTextEditor::Cursoramp;,const QStringamp;) - signal
informationMessage = pyqtSignal() # void informationMessage(KTextEditor::View *,const QStringamp;) - signal
viewEditModeChanged = pyqtSignal() # void viewEditModeChanged(KTextEditor::View *,KTextEditor::View::EditMode) - signal
viewModeChanged = pyqtSignal() # void viewModeChanged(KTextEditor::View *) - signal
focusOut = pyqtSignal() # void focusOut(KTextEditor::View *) - signal
focusIn = pyqtSignal() # void focusIn(KTextEditor::View *) - signal
def viewEditMode(self):
'''abstract KTextEditor.View.EditMode KTextEditor.View.viewEditMode()'''
return KTextEditor.View.EditMode()
def viewMode(self):
'''abstract QString KTextEditor.View.viewMode()'''
return QString()
def isActiveView(self):
'''bool KTextEditor.View.isActiveView()'''
return bool()
def document(self):
'''abstract KTextEditor.Document KTextEditor.View.document()'''
return KTextEditor.Document()
class ConfigInterface():
""""""
def __init__(self):
'''void KTextEditor.ConfigInterface.__init__()'''
def setConfigValue(self):
'''abstract QVariant KTextEditor.ConfigInterface.setConfigValue()'''
return QVariant()
def configValue(self):
'''abstract QString KTextEditor.ConfigInterface.configValue()'''
return QString()
def configKeys(self):
'''abstract QStringList KTextEditor.ConfigInterface.configKeys()'''
return QStringList()
class Command():
""""""
def __init__(self):
'''void KTextEditor.Command.__init__()'''
def __init__(self):
'''KTextEditor.Command KTextEditor.Command.__init__()'''
return KTextEditor.Command()
def help(self):
'''abstract QString KTextEditor.Command.help()'''
return QString()
def exec_(self):
'''abstract QString KTextEditor.Command.exec_()'''
return QString()
def cmds(self):
'''abstract QStringList KTextEditor.Command.cmds()'''
return QStringList()
class SmartRange():
""""""
class InsertBehaviors():
""""""
def __init__(self):
'''KTextEditor.SmartRange.InsertBehaviors KTextEditor.SmartRange.InsertBehaviors.__init__()'''
return KTextEditor.SmartRange.InsertBehaviors()
def __init__(self):
'''int KTextEditor.SmartRange.InsertBehaviors.__init__()'''
return int()
def __init__(self):
'''void KTextEditor.SmartRange.InsertBehaviors.__init__()'''
def __bool__(self):
'''int KTextEditor.SmartRange.InsertBehaviors.__bool__()'''
return int()
def __ne__(self, f):
'''bool KTextEditor.SmartRange.InsertBehaviors.__ne__(KTextEditor.SmartRange.InsertBehaviors f)'''
return bool()
def __eq__(self, f):
'''bool KTextEditor.SmartRange.InsertBehaviors.__eq__(KTextEditor.SmartRange.InsertBehaviors f)'''
return bool()
def __invert__(self):
'''KTextEditor.SmartRange.InsertBehaviors KTextEditor.SmartRange.InsertBehaviors.__invert__()'''
return KTextEditor.SmartRange.InsertBehaviors()
def __and__(self, mask):
'''KTextEditor.SmartRange.InsertBehaviors KTextEditor.SmartRange.InsertBehaviors.__and__(int mask)'''
return KTextEditor.SmartRange.InsertBehaviors()
def __xor__(self, f):
'''KTextEditor.SmartRange.InsertBehaviors KTextEditor.SmartRange.InsertBehaviors.__xor__(KTextEditor.SmartRange.InsertBehaviors f)'''
return KTextEditor.SmartRange.InsertBehaviors()
def __xor__(self, f):
'''KTextEditor.SmartRange.InsertBehaviors KTextEditor.SmartRange.InsertBehaviors.__xor__(int f)'''
return KTextEditor.SmartRange.InsertBehaviors()
def __or__(self, f):
'''KTextEditor.SmartRange.InsertBehaviors KTextEditor.SmartRange.InsertBehaviors.__or__(KTextEditor.SmartRange.InsertBehaviors f)'''
return KTextEditor.SmartRange.InsertBehaviors()
def __or__(self, f):
'''KTextEditor.SmartRange.InsertBehaviors KTextEditor.SmartRange.InsertBehaviors.__or__(int f)'''
return KTextEditor.SmartRange.InsertBehaviors()
def __int__(self):
'''int KTextEditor.SmartRange.InsertBehaviors.__int__()'''
return int()
def __ixor__(self, f):
'''KTextEditor.SmartRange.InsertBehaviors KTextEditor.SmartRange.InsertBehaviors.__ixor__(KTextEditor.SmartRange.InsertBehaviors f)'''
return KTextEditor.SmartRange.InsertBehaviors()
def __ior__(self, f):
'''KTextEditor.SmartRange.InsertBehaviors KTextEditor.SmartRange.InsertBehaviors.__ior__(KTextEditor.SmartRange.InsertBehaviors f)'''
return KTextEditor.SmartRange.InsertBehaviors()
def __iand__(self, mask):
'''KTextEditor.SmartRange.InsertBehaviors KTextEditor.SmartRange.InsertBehaviors.__iand__(int mask)'''
return KTextEditor.SmartRange.InsertBehaviors()
class Mark():
""""""
line = None # int - member
type = None # int - member
def __init__(self):
'''void KTextEditor.Mark.__init__()'''
def __init__(self):
'''KTextEditor.Mark KTextEditor.Mark.__init__()'''
return KTextEditor.Mark()
class Attribute(QTextCharFormat):
""""""
# Enum KTextEditor.Attribute.Effect
EffectNone = 0
EffectFadeIn = 0
EffectFadeOut = 0
EffectPulse = 0
EffectCycleGradient = 0
# Enum KTextEditor.Attribute.ActivationType
ActivateMouseIn = 0
ActivateCaretIn = 0
# Enum KTextEditor.Attribute.CustomProperties
Outline = 0
SelectedForeground = 0
SelectedBackground = 0
BackgroundFillWhitespace = 0
AttributeDynamicEffect = 0
AttributeInternalProperty = 0
AttributeUserProperty = 0
def __init__(self):
'''void KTextEditor.Attribute.__init__()'''
def __init__(self):
'''KTextEditor.Attribute KTextEditor.Attribute.__init__()'''
return KTextEditor.Attribute()
def __iadd__(self):
'''KTextEditor.Attribute KTextEditor.Attribute.__iadd__()'''
return KTextEditor.Attribute()
def setEffects(self):
'''KTextEditor.Attribute.Effects KTextEditor.Attribute.setEffects()'''
return KTextEditor.Attribute.Effects()
def effects(self):
'''KTextEditor.Attribute.Effects KTextEditor.Attribute.effects()'''
return KTextEditor.Attribute.Effects()
def setDynamicAttribute(self):
'''unknown-type KTextEditor.Attribute.setDynamicAttribute()'''
return unknown-type()
def dynamicAttribute(self):
'''KTextEditor.Attribute.ActivationType KTextEditor.Attribute.dynamicAttribute()'''
return KTextEditor.Attribute.ActivationType()
def clearAssociatedActions(self):
'''void KTextEditor.Attribute.clearAssociatedActions()'''
def associatedActions(self):
'''list-of-KAction KTextEditor.Attribute.associatedActions()'''
return [KAction()]
def hasAnyProperty(self):
'''bool KTextEditor.Attribute.hasAnyProperty()'''
return bool()
def clear(self):
'''void KTextEditor.Attribute.clear()'''
def setBackgroundFillWhitespace(self):
'''bool KTextEditor.Attribute.setBackgroundFillWhitespace()'''
return bool()
def backgroundFillWhitespace(self):
'''bool KTextEditor.Attribute.backgroundFillWhitespace()'''
return bool()
def setSelectedBackground(self):
'''QBrush KTextEditor.Attribute.setSelectedBackground()'''
return QBrush()
def selectedBackground(self):
'''QBrush KTextEditor.Attribute.selectedBackground()'''
return QBrush()
def setSelectedForeground(self):
'''QBrush KTextEditor.Attribute.setSelectedForeground()'''
return QBrush()
def selectedForeground(self):
'''QBrush KTextEditor.Attribute.selectedForeground()'''
return QBrush()
def setOutline(self):
'''QBrush KTextEditor.Attribute.setOutline()'''
return QBrush()
def outline(self):
'''QBrush KTextEditor.Attribute.outline()'''
return QBrush()
def setFontBold(self):
'''bool KTextEditor.Attribute.setFontBold()'''
return bool()
def fontBold(self):
'''bool KTextEditor.Attribute.fontBold()'''
return bool()
class CommandInterface():
""""""
def __init__(self):
'''void KTextEditor.CommandInterface.__init__()'''
def __init__(self):
'''KTextEditor.CommandInterface KTextEditor.CommandInterface.__init__()'''
return KTextEditor.CommandInterface()
def commandList(self):
'''abstract QStringList KTextEditor.CommandInterface.commandList()'''
return QStringList()
def commands(self):
'''abstract list-of-KTextEditor.Command KTextEditor.CommandInterface.commands()'''
return [KTextEditor.Command()]
def queryCommand(self):
'''abstract QString KTextEditor.CommandInterface.queryCommand()'''
return QString()
def unregisterCommand(self):
'''abstract KTextEditor.Command KTextEditor.CommandInterface.unregisterCommand()'''
return KTextEditor.Command()
def registerCommand(self):
'''abstract KTextEditor.Command KTextEditor.CommandInterface.registerCommand()'''
return KTextEditor.Command()
class SmartInterface():
""""""
def __init__(self):
'''void KTextEditor.SmartInterface.__init__()'''
def attributeNotDynamic(self):
'''abstract unknown-type KTextEditor.SmartInterface.attributeNotDynamic()'''
return unknown-type()
def attributeDynamic(self):
'''abstract unknown-type KTextEditor.SmartInterface.attributeDynamic()'''
return unknown-type()
def clearViewActions(self):
'''abstract KTextEditor.View KTextEditor.SmartInterface.clearViewActions()'''
return KTextEditor.View()
def viewActions(self):
'''abstract KTextEditor.View KTextEditor.SmartInterface.viewActions()'''
return KTextEditor.View()
def removeActionsFromView(self):
'''abstract KTextEditor.SmartRange KTextEditor.SmartInterface.removeActionsFromView()'''
return KTextEditor.SmartRange()
def addActionsToView(self):
'''abstract KTextEditor.SmartRange KTextEditor.SmartInterface.addActionsToView()'''
return KTextEditor.SmartRange()
def clearDocumentActions(self):
'''abstract void KTextEditor.SmartInterface.clearDocumentActions()'''
def documentActions(self):
'''abstract list-of-KTextEditor.SmartRange KTextEditor.SmartInterface.documentActions()'''
return [KTextEditor.SmartRange()]
def removeActionsFromDocument(self):
'''abstract KTextEditor.SmartRange KTextEditor.SmartInterface.removeActionsFromDocument()'''
return KTextEditor.SmartRange()
def addActionsToDocument(self):
'''abstract KTextEditor.SmartRange KTextEditor.SmartInterface.addActionsToDocument()'''
return KTextEditor.SmartRange()
def clearViewHighlights(self):
'''abstract KTextEditor.View KTextEditor.SmartInterface.clearViewHighlights()'''
return KTextEditor.View()
def viewHighlights(self):
'''abstract KTextEditor.View KTextEditor.SmartInterface.viewHighlights()'''
return KTextEditor.View()
def removeHighlightFromView(self):
'''abstract KTextEditor.SmartRange KTextEditor.SmartInterface.removeHighlightFromView()'''
return KTextEditor.SmartRange()
def addHighlightToView(self):
'''abstract bool KTextEditor.SmartInterface.addHighlightToView()'''
return bool()
def clearDocumentHighlights(self):
'''abstract void KTextEditor.SmartInterface.clearDocumentHighlights()'''
def documentHighlights(self):
'''abstract list-of-KTextEditor.SmartRange KTextEditor.SmartInterface.documentHighlights()'''
return [KTextEditor.SmartRange()]
def removeHighlightFromDocument(self):
'''abstract KTextEditor.SmartRange KTextEditor.SmartInterface.removeHighlightFromDocument()'''
return KTextEditor.SmartRange()
def addHighlightToDocument(self):
'''abstract bool KTextEditor.SmartInterface.addHighlightToDocument()'''
return bool()
def deleteRanges(self):
'''abstract void KTextEditor.SmartInterface.deleteRanges()'''
def unbindSmartRange(self):
'''abstract KTextEditor.SmartRange KTextEditor.SmartInterface.unbindSmartRange()'''
return KTextEditor.SmartRange()
def newSmartRange(self):
'''abstract KTextEditor.SmartRange.InsertBehaviors KTextEditor.SmartInterface.newSmartRange()'''
return KTextEditor.SmartRange.InsertBehaviors()
def newSmartRange(self):
'''KTextEditor.SmartRange.InsertBehaviors KTextEditor.SmartInterface.newSmartRange()'''
return KTextEditor.SmartRange.InsertBehaviors()
def newSmartRange(self):
'''KTextEditor.SmartRange.InsertBehaviors KTextEditor.SmartInterface.newSmartRange()'''
return KTextEditor.SmartRange.InsertBehaviors()
def newSmartRange(self):
'''abstract KTextEditor.SmartRange.InsertBehaviors KTextEditor.SmartInterface.newSmartRange()'''
return KTextEditor.SmartRange.InsertBehaviors()
def deleteCursors(self):
'''abstract void KTextEditor.SmartInterface.deleteCursors()'''
def newSmartCursor(self):
'''abstract KTextEditor.SmartCursor.InsertBehavior KTextEditor.SmartInterface.newSmartCursor()'''
return KTextEditor.SmartCursor.InsertBehavior()
def newSmartCursor(self):
'''KTextEditor.SmartCursor.InsertBehavior KTextEditor.SmartInterface.newSmartCursor()'''
return KTextEditor.SmartCursor.InsertBehavior()
def translateFromRevision(self):
'''KTextEditor.SmartCursor.InsertBehavior KTextEditor.SmartInterface.translateFromRevision()'''
return KTextEditor.SmartCursor.InsertBehavior()
def translateFromRevision(self):
'''KTextEditor.SmartRange.InsertBehaviors KTextEditor.SmartInterface.translateFromRevision()'''
return KTextEditor.SmartRange.InsertBehaviors()
def clearRevision(self):
'''void KTextEditor.SmartInterface.clearRevision()'''
def useRevision(self):
'''abstract int KTextEditor.SmartInterface.useRevision()'''
return int()
def releaseRevision(self):
'''abstract int KTextEditor.SmartInterface.releaseRevision()'''
return int()
def currentRevision(self):
'''abstract int KTextEditor.SmartInterface.currentRevision()'''
return int()
def setClearOnDocumentReload(self):
'''bool KTextEditor.SmartInterface.setClearOnDocumentReload()'''
return bool()
def clearOnDocumentReload(self):
'''bool KTextEditor.SmartInterface.clearOnDocumentReload()'''
return bool()
def clearSmartInterface(self):
'''abstract void KTextEditor.SmartInterface.clearSmartInterface()'''
def smartMutex(self):
'''QMutex KTextEditor.SmartInterface.smartMutex()'''
return QMutex()
class CodeCompletionModel(QAbstractItemModel):
""""""
# Enum KTextEditor.CodeCompletionModel.InvocationType
AutomaticInvocation = 0
UserInvocation = 0
ManualInvocation = 0
# Enum KTextEditor.CodeCompletionModel.ExtraItemDataRoles
CompletionRole = 0
ScopeIndex = 0
MatchQuality = 0
SetMatchContext = 0
HighlightingMethod = 0
CustomHighlight = 0
InheritanceDepth = 0
IsExpandable = 0
ExpandingWidget = 0
ItemSelected = 0
ArgumentHintDepth = 0
BestMatchesCount = 0
AccessibilityNext = 0
AccessibilityPrevious = 0
AccessibilityAccept = 0
# Enum KTextEditor.CodeCompletionModel.HighlightMethod
NoHighlighting = 0
InternalHighlighting = 0
CustomHighlighting = 0
# Enum KTextEditor.CodeCompletionModel.CompletionProperty
NoProperty = 0
FirstProperty = 0
Public = 0
Protected = 0
Private = 0
Static = 0
Const = 0
Namespace = 0
Class = 0
Struct = 0
Union = 0
Function = 0
Variable = 0
Enum = 0
Template = 0
TypeAlias = 0
Virtual = 0
Override = 0
Inline = 0
Friend = 0
Signal = 0
Slot = 0
LocalScope = 0
NamespaceScope = 0
GlobalScope = 0
LastProperty = 0
# Enum KTextEditor.CodeCompletionModel.Columns
Prefix = 0
Icon = 0
Scope = 0
Name = 0
Arguments = 0
Postfix = 0
ColumnCount = None # int - member
LastItemDataRole = None # int - member
def __init__(self):
'''QObject KTextEditor.CodeCompletionModel.__init__()'''
return QObject()
def rowCount(self):
'''QModelIndex KTextEditor.CodeCompletionModel.rowCount()'''
return QModelIndex()
def parent(self):
'''QModelIndex KTextEditor.CodeCompletionModel.parent()'''
return QModelIndex()
def itemData(self):
'''QModelIndex KTextEditor.CodeCompletionModel.itemData()'''
return QModelIndex()
def index(self):
'''QModelIndex KTextEditor.CodeCompletionModel.index()'''
return QModelIndex()
def columnCount(self):
'''QModelIndex KTextEditor.CodeCompletionModel.columnCount()'''
return QModelIndex()
def executeCompletionItem(self):
'''int KTextEditor.CodeCompletionModel.executeCompletionItem()'''
return int()
def completionInvoked(self):
'''KTextEditor.CodeCompletionModel.InvocationType KTextEditor.CodeCompletionModel.completionInvoked()'''
return KTextEditor.CodeCompletionModel.InvocationType()
def setRowCount(self):
'''int KTextEditor.CodeCompletionModel.setRowCount()'''
return int()
class ConfigPage(QWidget):
""""""
def __init__(self):
'''QWidget KTextEditor.ConfigPage.__init__()'''
return QWidget()
changed = pyqtSignal() # void changed() - signal
def defaults(self):
'''abstract void KTextEditor.ConfigPage.defaults()'''
def reset(self):
'''abstract void KTextEditor.ConfigPage.reset()'''
def apply(self):
'''abstract void KTextEditor.ConfigPage.apply()'''
class CommandExtension():
""""""
def __init__(self):
'''void KTextEditor.CommandExtension.__init__()'''
def __init__(self):
'''KTextEditor.CommandExtension KTextEditor.CommandExtension.__init__()'''
return KTextEditor.CommandExtension()
def processText(self):
'''abstract QString KTextEditor.CommandExtension.processText()'''
return QString()
def wantsToProcessText(self):
'''abstract QString KTextEditor.CommandExtension.wantsToProcessText()'''
return QString()
def completionObject(self):
'''abstract QString KTextEditor.CommandExtension.completionObject()'''
return QString()
def flagCompletions(self):
'''abstract QStringList KTextEditor.CommandExtension.flagCompletions()'''
return QStringList()
class SmartCursorWatcher():
""""""
def __init__(self):
'''void KTextEditor.SmartCursorWatcher.__init__()'''
def __init__(self):
'''KTextEditor.SmartCursorWatcher KTextEditor.SmartCursorWatcher.__init__()'''
return KTextEditor.SmartCursorWatcher()
def deleted(self):
'''KTextEditor.SmartCursor KTextEditor.SmartCursorWatcher.deleted()'''
return KTextEditor.SmartCursor()
def characterInserted(self):
'''bool KTextEditor.SmartCursorWatcher.characterInserted()'''
return bool()
def characterDeleted(self):
'''bool KTextEditor.SmartCursorWatcher.characterDeleted()'''
return bool()
def positionDeleted(self):
'''KTextEditor.SmartCursor KTextEditor.SmartCursorWatcher.positionDeleted()'''
return KTextEditor.SmartCursor()
def positionChanged(self):
'''KTextEditor.SmartCursor KTextEditor.SmartCursorWatcher.positionChanged()'''
return KTextEditor.SmartCursor()
def setWantsDirectChanges(self):
'''bool KTextEditor.SmartCursorWatcher.setWantsDirectChanges()'''
return bool()
def wantsDirectChanges(self):
'''bool KTextEditor.SmartCursorWatcher.wantsDirectChanges()'''
return bool()
class SmartRangeWatcher():
""""""
def __init__(self):
'''void KTextEditor.SmartRangeWatcher.__init__()'''
def __init__(self):
'''KTextEditor.SmartRangeWatcher KTextEditor.SmartRangeWatcher.__init__()'''
return KTextEditor.SmartRangeWatcher()
def rangeAttributeChanged(self):
'''unknown-type KTextEditor.SmartRangeWatcher.rangeAttributeChanged()'''
return unknown-type()
def childRangeRemoved(self):
'''KTextEditor.SmartRange KTextEditor.SmartRangeWatcher.childRangeRemoved()'''
return KTextEditor.SmartRange()
def childRangeInserted(self):
'''KTextEditor.SmartRange KTextEditor.SmartRangeWatcher.childRangeInserted()'''
return KTextEditor.SmartRange()
def parentRangeChanged(self):
'''KTextEditor.SmartRange KTextEditor.SmartRangeWatcher.parentRangeChanged()'''
return KTextEditor.SmartRange()
def rangeDeleted(self):
'''KTextEditor.SmartRange KTextEditor.SmartRangeWatcher.rangeDeleted()'''
return KTextEditor.SmartRange()
def rangeEliminated(self):
'''KTextEditor.SmartRange KTextEditor.SmartRangeWatcher.rangeEliminated()'''
return KTextEditor.SmartRange()
def caretExitedRange(self):
'''KTextEditor.View KTextEditor.SmartRangeWatcher.caretExitedRange()'''
return KTextEditor.View()
def caretEnteredRange(self):
'''KTextEditor.View KTextEditor.SmartRangeWatcher.caretEnteredRange()'''
return KTextEditor.View()
def mouseExitedRange(self):
'''KTextEditor.View KTextEditor.SmartRangeWatcher.mouseExitedRange()'''
return KTextEditor.View()
def mouseEnteredRange(self):
'''KTextEditor.View KTextEditor.SmartRangeWatcher.mouseEnteredRange()'''
return KTextEditor.View()
def rangeContentsChanged(self):
'''KTextEditor.SmartRange KTextEditor.SmartRangeWatcher.rangeContentsChanged()'''
return KTextEditor.SmartRange()
def rangeContentsChanged(self):
'''KTextEditor.SmartRange KTextEditor.SmartRangeWatcher.rangeContentsChanged()'''
return KTextEditor.SmartRange()
def rangePositionChanged(self):
'''KTextEditor.SmartRange KTextEditor.SmartRangeWatcher.rangePositionChanged()'''
return KTextEditor.SmartRange()
def setWantsDirectChanges(self):
'''bool KTextEditor.SmartRangeWatcher.setWantsDirectChanges()'''
return bool()
def wantsDirectChanges(self):
'''bool KTextEditor.SmartRangeWatcher.wantsDirectChanges()'''
return bool()
class Factory(KParts.Factory):
""""""
def __init__(self):
'''QObject KTextEditor.Factory.__init__()'''
return QObject()
def editor(self):
'''abstract KTextEditor.Editor KTextEditor.Factory.editor()'''
return KTextEditor.Editor()
class Plugin(QObject):
""""""
def __init__(self):
'''QObject KTextEditor.Plugin.__init__()'''
return QObject()
def removeView(self):
'''KTextEditor.View KTextEditor.Plugin.removeView()'''
return KTextEditor.View()
def addView(self):
'''KTextEditor.View KTextEditor.Plugin.addView()'''
return KTextEditor.View()
def removeDocument(self):
'''KTextEditor.Document KTextEditor.Plugin.removeDocument()'''
return KTextEditor.Document()
def addDocument(self):
'''KTextEditor.Document KTextEditor.Plugin.addDocument()'''
return KTextEditor.Document()
class SearchInterface():
""""""
def __init__(self):
'''void KTextEditor.SearchInterface.__init__()'''
def supportedSearchOptions(self):
'''abstract KTextEditor.Search.SearchOptions KTextEditor.SearchInterface.supportedSearchOptions()'''
return KTextEditor.Search.SearchOptions()
def searchText(self):
'''abstract KTextEditor.Search.SearchOptions KTextEditor.SearchInterface.searchText()'''
return KTextEditor.Search.SearchOptions()
class Search():
""""""
class SearchOptions():
""""""
def __init__(self):
'''KTextEditor.Search.SearchOptions KTextEditor.Search.SearchOptions.__init__()'''
return KTextEditor.Search.SearchOptions()
def __init__(self):
'''int KTextEditor.Search.SearchOptions.__init__()'''
return int()
def __init__(self):
'''void KTextEditor.Search.SearchOptions.__init__()'''
def __bool__(self):
'''int KTextEditor.Search.SearchOptions.__bool__()'''
return int()
def __ne__(self, f):
'''bool KTextEditor.Search.SearchOptions.__ne__(KTextEditor.Search.SearchOptions f)'''
return bool()
def __eq__(self, f):
'''bool KTextEditor.Search.SearchOptions.__eq__(KTextEditor.Search.SearchOptions f)'''
return bool()
def __invert__(self):
'''KTextEditor.Search.SearchOptions KTextEditor.Search.SearchOptions.__invert__()'''
return KTextEditor.Search.SearchOptions()
def __and__(self, mask):
'''KTextEditor.Search.SearchOptions KTextEditor.Search.SearchOptions.__and__(int mask)'''
return KTextEditor.Search.SearchOptions()
def __xor__(self, f):
'''KTextEditor.Search.SearchOptions KTextEditor.Search.SearchOptions.__xor__(KTextEditor.Search.SearchOptions f)'''
return KTextEditor.Search.SearchOptions()
def __xor__(self, f):
'''KTextEditor.Search.SearchOptions KTextEditor.Search.SearchOptions.__xor__(int f)'''
return KTextEditor.Search.SearchOptions()
def __or__(self, f):
'''KTextEditor.Search.SearchOptions KTextEditor.Search.SearchOptions.__or__(KTextEditor.Search.SearchOptions f)'''
return KTextEditor.Search.SearchOptions()
def __or__(self, f):
'''KTextEditor.Search.SearchOptions KTextEditor.Search.SearchOptions.__or__(int f)'''
return KTextEditor.Search.SearchOptions()
def __int__(self):
'''int KTextEditor.Search.SearchOptions.__int__()'''
return int()
def __ixor__(self, f):
'''KTextEditor.Search.SearchOptions KTextEditor.Search.SearchOptions.__ixor__(KTextEditor.Search.SearchOptions f)'''
return KTextEditor.Search.SearchOptions()
def __ior__(self, f):
'''KTextEditor.Search.SearchOptions KTextEditor.Search.SearchOptions.__ior__(KTextEditor.Search.SearchOptions f)'''
return KTextEditor.Search.SearchOptions()
def __iand__(self, mask):
'''KTextEditor.Search.SearchOptions KTextEditor.Search.SearchOptions.__iand__(int mask)'''
return KTextEditor.Search.SearchOptions()
class CodeCompletionInterface():
""""""
def __init__(self):
'''void KTextEditor.CodeCompletionInterface.__init__()'''
def __init__(self):
'''KTextEditor.CodeCompletionInterface KTextEditor.CodeCompletionInterface.__init__()'''
return KTextEditor.CodeCompletionInterface()
def setAutomaticInvocationEnabled(self):
'''abstract bool KTextEditor.CodeCompletionInterface.setAutomaticInvocationEnabled()'''
return bool()
def isAutomaticInvocationEnabled(self):
'''abstract bool KTextEditor.CodeCompletionInterface.isAutomaticInvocationEnabled()'''
return bool()
def unregisterCompletionModel(self):
'''abstract KTextEditor.CodeCompletionModel KTextEditor.CodeCompletionInterface.unregisterCompletionModel()'''
return KTextEditor.CodeCompletionModel()
def registerCompletionModel(self):
'''abstract KTextEditor.CodeCompletionModel KTextEditor.CodeCompletionInterface.registerCompletionModel()'''
return KTextEditor.CodeCompletionModel()
def forceCompletion(self):
'''abstract void KTextEditor.CodeCompletionInterface.forceCompletion()'''
def abortCompletion(self):
'''abstract void KTextEditor.CodeCompletionInterface.abortCompletion()'''
def startCompletion(self):
'''abstract KTextEditor.CodeCompletionModel KTextEditor.CodeCompletionInterface.startCompletion()'''
return KTextEditor.CodeCompletionModel()
def isCompletionActive(self):
'''abstract bool KTextEditor.CodeCompletionInterface.isCompletionActive()'''
return bool()
class TemplateInterface():
""""""
def __init__(self):
'''void KTextEditor.TemplateInterface.__init__()'''
def insertTemplateTextImplementation(self):
'''abstract dict-of-QString-QString KTextEditor.TemplateInterface.insertTemplateTextImplementation()'''
return dict-of-QString-QString()
def insertTemplateText(self):
'''dict-of-QString-QString KTextEditor.TemplateInterface.insertTemplateText()'''
return dict-of-QString-QString()
def expandMacros(self):
'''static QWidget KTextEditor.TemplateInterface.expandMacros()'''
return QWidget()
class TextHintInterface():
""""""
def __init__(self):
'''void KTextEditor.TextHintInterface.__init__()'''
def needTextHint(self):
'''abstract QString KTextEditor.TextHintInterface.needTextHint()'''
return QString()
def disableTextHints(self):
'''abstract void KTextEditor.TextHintInterface.disableTextHints()'''
def enableTextHints(self):
'''abstract int KTextEditor.TextHintInterface.enableTextHints()'''
return int()
class VariableInterface():
""""""
def __init__(self):
'''void KTextEditor.VariableInterface.__init__()'''
def variableChanged(self):
'''abstract QString KTextEditor.VariableInterface.variableChanged()'''
return QString()
def variable(self):
'''abstract QString KTextEditor.VariableInterface.variable()'''
return QString()
class CodeCompletionModel():
""""""
class HighlightMethods():
""""""
def __init__(self):
'''KTextEditor.CodeCompletionModel.HighlightMethods KTextEditor.CodeCompletionModel.HighlightMethods.__init__()'''
return KTextEditor.CodeCompletionModel.HighlightMethods()
def __init__(self):
'''int KTextEditor.CodeCompletionModel.HighlightMethods.__init__()'''
return int()
def __init__(self):
'''void KTextEditor.CodeCompletionModel.HighlightMethods.__init__()'''
def __bool__(self):
'''int KTextEditor.CodeCompletionModel.HighlightMethods.__bool__()'''
return int()
def __ne__(self, f):
'''bool KTextEditor.CodeCompletionModel.HighlightMethods.__ne__(KTextEditor.CodeCompletionModel.HighlightMethods f)'''
return bool()
def __eq__(self, f):
'''bool KTextEditor.CodeCompletionModel.HighlightMethods.__eq__(KTextEditor.CodeCompletionModel.HighlightMethods f)'''
return bool()
def __invert__(self):
'''KTextEditor.CodeCompletionModel.HighlightMethods KTextEditor.CodeCompletionModel.HighlightMethods.__invert__()'''
return KTextEditor.CodeCompletionModel.HighlightMethods()
def __and__(self, mask):
'''KTextEditor.CodeCompletionModel.HighlightMethods KTextEditor.CodeCompletionModel.HighlightMethods.__and__(int mask)'''
return KTextEditor.CodeCompletionModel.HighlightMethods()
def __xor__(self, f):
'''KTextEditor.CodeCompletionModel.HighlightMethods KTextEditor.CodeCompletionModel.HighlightMethods.__xor__(KTextEditor.CodeCompletionModel.HighlightMethods f)'''
return KTextEditor.CodeCompletionModel.HighlightMethods()
def __xor__(self, f):
'''KTextEditor.CodeCompletionModel.HighlightMethods KTextEditor.CodeCompletionModel.HighlightMethods.__xor__(int f)'''
return KTextEditor.CodeCompletionModel.HighlightMethods()
def __or__(self, f):
'''KTextEditor.CodeCompletionModel.HighlightMethods KTextEditor.CodeCompletionModel.HighlightMethods.__or__(KTextEditor.CodeCompletionModel.HighlightMethods f)'''
return KTextEditor.CodeCompletionModel.HighlightMethods()
def __or__(self, f):
'''KTextEditor.CodeCompletionModel.HighlightMethods KTextEditor.CodeCompletionModel.HighlightMethods.__or__(int f)'''
return KTextEditor.CodeCompletionModel.HighlightMethods()
def __int__(self):
'''int KTextEditor.CodeCompletionModel.HighlightMethods.__int__()'''
return int()
def __ixor__(self, f):
'''KTextEditor.CodeCompletionModel.HighlightMethods KTextEditor.CodeCompletionModel.HighlightMethods.__ixor__(KTextEditor.CodeCompletionModel.HighlightMethods f)'''
return KTextEditor.CodeCompletionModel.HighlightMethods()
def __ior__(self, f):
'''KTextEditor.CodeCompletionModel.HighlightMethods KTextEditor.CodeCompletionModel.HighlightMethods.__ior__(KTextEditor.CodeCompletionModel.HighlightMethods f)'''
return KTextEditor.CodeCompletionModel.HighlightMethods()
def __iand__(self, mask):
'''KTextEditor.CodeCompletionModel.HighlightMethods KTextEditor.CodeCompletionModel.HighlightMethods.__iand__(int mask)'''
return KTextEditor.CodeCompletionModel.HighlightMethods()
class SmartCursor(KTextEditor.Cursor):
""""""
# Enum KTextEditor.SmartCursor.InsertBehavior
StayOnInsert = 0
MoveOnInsert = 0
# Enum KTextEditor.SmartCursor.AdvanceMode
ByCharacter = 0
ByCursorPosition = 0
def __init__(self):
'''KTextEditor.SmartCursor.InsertBehavior KTextEditor.SmartCursor.__init__()'''
return KTextEditor.SmartCursor.InsertBehavior()
def setWatcher(self):
'''abstract KTextEditor.SmartCursorWatcher KTextEditor.SmartCursor.setWatcher()'''
return KTextEditor.SmartCursorWatcher()
def watcher(self):
'''abstract KTextEditor.SmartCursorWatcher KTextEditor.SmartCursor.watcher()'''
return KTextEditor.SmartCursorWatcher()
def deleteNotifier(self):
'''abstract void KTextEditor.SmartCursor.deleteNotifier()'''
def notifier(self):
'''abstract KTextEditor.SmartCursorNotifier KTextEditor.SmartCursor.notifier()'''
return KTextEditor.SmartCursorNotifier()
def hasNotifier(self):
'''abstract bool KTextEditor.SmartCursor.hasNotifier()'''
return bool()
def setInsertBehavior(self):
'''KTextEditor.SmartCursor.InsertBehavior KTextEditor.SmartCursor.setInsertBehavior()'''
return KTextEditor.SmartCursor.InsertBehavior()
def insertBehavior(self):
'''KTextEditor.SmartCursor.InsertBehavior KTextEditor.SmartCursor.insertBehavior()'''
return KTextEditor.SmartCursor.InsertBehavior()
def advance(self):
'''KTextEditor.SmartCursor.AdvanceMode KTextEditor.SmartCursor.advance()'''
return KTextEditor.SmartCursor.AdvanceMode()
def insertText(self):
'''bool KTextEditor.SmartCursor.insertText()'''
return bool()
def character(self):
'''QChar KTextEditor.SmartCursor.character()'''
return QChar()
def isValid(self):
'''bool KTextEditor.SmartCursor.isValid()'''
return bool()
def atEndOfDocument(self):
'''bool KTextEditor.SmartCursor.atEndOfDocument()'''
return bool()
def atEndOfLine(self):
'''bool KTextEditor.SmartCursor.atEndOfLine()'''
return bool()
def document(self):
'''KTextEditor.Document KTextEditor.SmartCursor.document()'''
return KTextEditor.Document()
def smartRange(self):
'''KTextEditor.SmartRange KTextEditor.SmartCursor.smartRange()'''
return KTextEditor.SmartRange()
def toSmartCursor(self):
'''KTextEditor.SmartCursor KTextEditor.SmartCursor.toSmartCursor()'''
return KTextEditor.SmartCursor()
def isSmartCursor(self):
'''bool KTextEditor.SmartCursor.isSmartCursor()'''
return bool()
class MarkInterface():
""""""
# Enum KTextEditor.MarkInterface.MarkChangeAction
MarkAdded = 0
MarkRemoved = 0
# Enum KTextEditor.MarkInterface.MarkTypes
markType01 = 0
markType02 = 0
markType03 = 0
markType04 = 0
markType05 = 0
markType06 = 0
markType07 = 0
markType08 = 0
markType09 = 0
markType10 = 0
markType11 = 0
markType12 = 0
markType13 = 0
markType14 = 0
markType15 = 0
markType16 = 0
markType17 = 0
markType18 = 0
markType19 = 0
markType20 = 0
markType21 = 0
markType22 = 0
markType23 = 0
markType24 = 0
markType25 = 0
markType26 = 0
markType27 = 0
markType28 = 0
markType29 = 0
markType30 = 0
markType31 = 0
markType32 = 0
Bookmark = 0
BreakpointActive = 0
BreakpointReached = 0
BreakpointDisabled = 0
Execution = 0
Warning = 0
Error = 0
def __init__(self):
'''void KTextEditor.MarkInterface.__init__()'''
def markChanged(self):
'''abstract KTextEditor.MarkInterface.MarkChangeAction KTextEditor.MarkInterface.markChanged()'''
return KTextEditor.MarkInterface.MarkChangeAction()
def editableMarks(self):
'''abstract int KTextEditor.MarkInterface.editableMarks()'''
return int()
def setEditableMarks(self):
'''abstract int KTextEditor.MarkInterface.setEditableMarks()'''
return int()
def markDescription(self):
'''abstract KTextEditor.MarkInterface.MarkTypes KTextEditor.MarkInterface.markDescription()'''
return KTextEditor.MarkInterface.MarkTypes()
def setMarkDescription(self):
'''abstract QString KTextEditor.MarkInterface.setMarkDescription()'''
return QString()
def markPixmap(self):
'''abstract KTextEditor.MarkInterface.MarkTypes KTextEditor.MarkInterface.markPixmap()'''
return KTextEditor.MarkInterface.MarkTypes()
def setMarkPixmap(self):
'''abstract QPixmap KTextEditor.MarkInterface.setMarkPixmap()'''
return QPixmap()
def marksChanged(self):
'''abstract KTextEditor.Document KTextEditor.MarkInterface.marksChanged()'''
return KTextEditor.Document()
def reservedMarkersCount(self):
'''static int KTextEditor.MarkInterface.reservedMarkersCount()'''
return int()
def clearMarks(self):
'''abstract void KTextEditor.MarkInterface.clearMarks()'''
def marks(self):
'''abstract unknown-type KTextEditor.MarkInterface.marks()'''
return unknown-type()
def removeMark(self):
'''abstract int KTextEditor.MarkInterface.removeMark()'''
return int()
def addMark(self):
'''abstract int KTextEditor.MarkInterface.addMark()'''
return int()
def clearMark(self):
'''abstract int KTextEditor.MarkInterface.clearMark()'''
return int()
def setMark(self):
'''abstract int KTextEditor.MarkInterface.setMark()'''
return int()
def mark(self):
'''abstract int KTextEditor.MarkInterface.mark()'''
return int()
class Search():
""""""
# Enum KTextEditor.Search.SearchOptionsEnum
Default = 0
Regex = 0
CaseInsensitive = 0
Backwards = 0
BlockInputRange = 0
EscapeSequences = 0
WholeWords = 0
DotMatchesNewline = 0
class EditorChooser(QWidget):
""""""
def __init__(self):
'''QWidget KTextEditor.EditorChooser.__init__()'''
return QWidget()
changed = pyqtSignal() # void changed() - signal
def editor(self):
'''static bool KTextEditor.EditorChooser.editor()'''
return bool()
def writeAppSetting(self):
'''QString KTextEditor.EditorChooser.writeAppSetting()'''
return QString()
def readAppSetting(self):
'''QString KTextEditor.EditorChooser.readAppSetting()'''
return QString()
class SessionConfigInterface():
""""""
def __init__(self):
'''void KTextEditor.SessionConfigInterface.__init__()'''
def writeSessionConfig(self):
'''abstract KConfigGroup KTextEditor.SessionConfigInterface.writeSessionConfig()'''
return KConfigGroup()
def readSessionConfig(self):
'''abstract KConfigGroup KTextEditor.SessionConfigInterface.readSessionConfig()'''
return KConfigGroup()
class Cursor():
""""""
def __init__(self):
'''void KTextEditor.Cursor.__init__()'''
def __init__(self):
'''int KTextEditor.Cursor.__init__()'''
return int()
def __init__(self):
'''KTextEditor.Cursor KTextEditor.Cursor.__init__()'''
return KTextEditor.Cursor()
def cursorChangedDirectly(self):
'''KTextEditor.Cursor KTextEditor.Cursor.cursorChangedDirectly()'''
return KTextEditor.Cursor()
def setRange(self):
'''KTextEditor.Range KTextEditor.Cursor.setRange()'''
return KTextEditor.Range()
def range(self):
'''KTextEditor.Range KTextEditor.Cursor.range()'''
return KTextEditor.Range()
def position(self):
'''int KTextEditor.Cursor.position()'''
return int()
def atStartOfDocument(self):
'''bool KTextEditor.Cursor.atStartOfDocument()'''
return bool()
def atStartOfLine(self):
'''bool KTextEditor.Cursor.atStartOfLine()'''
return bool()
def setColumn(self):
'''int KTextEditor.Cursor.setColumn()'''
return int()
def column(self):
'''int KTextEditor.Cursor.column()'''
return int()
def setLine(self):
'''int KTextEditor.Cursor.setLine()'''
return int()
def line(self):
'''int KTextEditor.Cursor.line()'''
return int()
def setPosition(self):
'''KTextEditor.Cursor KTextEditor.Cursor.setPosition()'''
return KTextEditor.Cursor()
def setPosition(self):
'''int KTextEditor.Cursor.setPosition()'''
return int()
def start(self):
'''static KTextEditor.Cursor KTextEditor.Cursor.start()'''
return KTextEditor.Cursor()
def invalid(self):
'''static KTextEditor.Cursor KTextEditor.Cursor.invalid()'''
return KTextEditor.Cursor()
def toSmartCursor(self):
'''KTextEditor.SmartCursor KTextEditor.Cursor.toSmartCursor()'''
return KTextEditor.SmartCursor()
def isSmartCursor(self):
'''bool KTextEditor.Cursor.isSmartCursor()'''
return bool()
def isValid(self):
'''bool KTextEditor.Cursor.isValid()'''
return bool()
class CodeCompletionModel():
""""""
class CompletionProperties():
""""""
def __init__(self):
'''KTextEditor.CodeCompletionModel.CompletionProperties KTextEditor.CodeCompletionModel.CompletionProperties.__init__()'''
return KTextEditor.CodeCompletionModel.CompletionProperties()
def __init__(self):
'''int KTextEditor.CodeCompletionModel.CompletionProperties.__init__()'''
return int()
def __init__(self):
'''void KTextEditor.CodeCompletionModel.CompletionProperties.__init__()'''
def __bool__(self):
'''int KTextEditor.CodeCompletionModel.CompletionProperties.__bool__()'''
return int()
def __ne__(self, f):
'''bool KTextEditor.CodeCompletionModel.CompletionProperties.__ne__(KTextEditor.CodeCompletionModel.CompletionProperties f)'''
return bool()
def __eq__(self, f):
'''bool KTextEditor.CodeCompletionModel.CompletionProperties.__eq__(KTextEditor.CodeCompletionModel.CompletionProperties f)'''
return bool()
def __invert__(self):
'''KTextEditor.CodeCompletionModel.CompletionProperties KTextEditor.CodeCompletionModel.CompletionProperties.__invert__()'''
return KTextEditor.CodeCompletionModel.CompletionProperties()
def __and__(self, mask):
'''KTextEditor.CodeCompletionModel.CompletionProperties KTextEditor.CodeCompletionModel.CompletionProperties.__and__(int mask)'''
return KTextEditor.CodeCompletionModel.CompletionProperties()
def __xor__(self, f):
'''KTextEditor.CodeCompletionModel.CompletionProperties KTextEditor.CodeCompletionModel.CompletionProperties.__xor__(KTextEditor.CodeCompletionModel.CompletionProperties f)'''
return KTextEditor.CodeCompletionModel.CompletionProperties()
def __xor__(self, f):
'''KTextEditor.CodeCompletionModel.CompletionProperties KTextEditor.CodeCompletionModel.CompletionProperties.__xor__(int f)'''
return KTextEditor.CodeCompletionModel.CompletionProperties()
def __or__(self, f):
'''KTextEditor.CodeCompletionModel.CompletionProperties KTextEditor.CodeCompletionModel.CompletionProperties.__or__(KTextEditor.CodeCompletionModel.CompletionProperties f)'''
return KTextEditor.CodeCompletionModel.CompletionProperties()
def __or__(self, f):
'''KTextEditor.CodeCompletionModel.CompletionProperties KTextEditor.CodeCompletionModel.CompletionProperties.__or__(int f)'''
return KTextEditor.CodeCompletionModel.CompletionProperties()
def __int__(self):
'''int KTextEditor.CodeCompletionModel.CompletionProperties.__int__()'''
return int()
def __ixor__(self, f):
'''KTextEditor.CodeCompletionModel.CompletionProperties KTextEditor.CodeCompletionModel.CompletionProperties.__ixor__(KTextEditor.CodeCompletionModel.CompletionProperties f)'''
return KTextEditor.CodeCompletionModel.CompletionProperties()
def __ior__(self, f):
'''KTextEditor.CodeCompletionModel.CompletionProperties KTextEditor.CodeCompletionModel.CompletionProperties.__ior__(KTextEditor.CodeCompletionModel.CompletionProperties f)'''
return KTextEditor.CodeCompletionModel.CompletionProperties()
def __iand__(self, mask):
'''KTextEditor.CodeCompletionModel.CompletionProperties KTextEditor.CodeCompletionModel.CompletionProperties.__iand__(int mask)'''
return KTextEditor.CodeCompletionModel.CompletionProperties()
class SmartRange(KTextEditor.Range):
""""""
# Enum KTextEditor.SmartRange.InsertBehavior
DoNotExpand = 0
ExpandLeft = 0
ExpandRight = 0
def __init__(self):
'''KTextEditor.SmartRange.InsertBehaviors KTextEditor.SmartRange.__init__()'''
return KTextEditor.SmartRange.InsertBehaviors()
def createNotifier(self):
'''abstract KTextEditor.SmartRangeNotifier KTextEditor.SmartRange.createNotifier()'''
return KTextEditor.SmartRangeNotifier()
def checkFeedback(self):
'''void KTextEditor.SmartRange.checkFeedback()'''
def rangeChanged(self):
'''KTextEditor.Range KTextEditor.SmartRange.rangeChanged()'''
return KTextEditor.Range()
def removeWatcher(self):
'''KTextEditor.SmartRangeWatcher KTextEditor.SmartRange.removeWatcher()'''
return KTextEditor.SmartRangeWatcher()
def addWatcher(self):
'''KTextEditor.SmartRangeWatcher KTextEditor.SmartRange.addWatcher()'''
return KTextEditor.SmartRangeWatcher()
def watchers(self):
'''list-of-KTextEditor.SmartRangeWatcher KTextEditor.SmartRange.watchers()'''
return [KTextEditor.SmartRangeWatcher()]
def deletePrimaryNotifier(self):
'''void KTextEditor.SmartRange.deletePrimaryNotifier()'''
def removeNotifier(self):
'''KTextEditor.SmartRangeNotifier KTextEditor.SmartRange.removeNotifier()'''
return KTextEditor.SmartRangeNotifier()
def addNotifier(self):
'''KTextEditor.SmartRangeNotifier KTextEditor.SmartRange.addNotifier()'''
return KTextEditor.SmartRangeNotifier()
def notifiers(self):
'''list-of-KTextEditor.SmartRangeNotifier KTextEditor.SmartRange.notifiers()'''
return [KTextEditor.SmartRangeNotifier()]
def primaryNotifier(self):
'''KTextEditor.SmartRangeNotifier KTextEditor.SmartRange.primaryNotifier()'''
return KTextEditor.SmartRangeNotifier()
def clearAssociatedActions(self):
'''void KTextEditor.SmartRange.clearAssociatedActions()'''
def associatedActions(self):
'''list-of-KAction KTextEditor.SmartRange.associatedActions()'''
return [KAction()]
def dissociateAction(self):
'''KAction KTextEditor.SmartRange.dissociateAction()'''
return KAction()
def associateAction(self):
'''KAction KTextEditor.SmartRange.associateAction()'''
return KAction()
def setAttribute(self):
'''unknown-type KTextEditor.SmartRange.setAttribute()'''
return unknown-type()
def attribute(self):
'''unknown-type KTextEditor.SmartRange.attribute()'''
return unknown-type()
def deepestRangeContaining(self):
'''unknown-type KTextEditor.SmartRange.deepestRangeContaining()'''
return unknown-type()
def firstRangeContaining(self):
'''KTextEditor.Cursor KTextEditor.SmartRange.firstRangeContaining()'''
return KTextEditor.Cursor()
def mostSpecificRange(self):
'''KTextEditor.Range KTextEditor.SmartRange.mostSpecificRange()'''
return KTextEditor.Range()
def childAfter(self):
'''KTextEditor.SmartRange KTextEditor.SmartRange.childAfter()'''
return KTextEditor.SmartRange()
def childBefore(self):
'''KTextEditor.SmartRange KTextEditor.SmartRange.childBefore()'''
return KTextEditor.SmartRange()
def clearAndDeleteChildRanges(self):
'''void KTextEditor.SmartRange.clearAndDeleteChildRanges()'''
def deleteChildRanges(self):
'''void KTextEditor.SmartRange.deleteChildRanges()'''
def clearChildRanges(self):
'''void KTextEditor.SmartRange.clearChildRanges()'''
def childRanges(self):
'''list-of-KTextEditor.SmartRange KTextEditor.SmartRange.childRanges()'''
return [KTextEditor.SmartRange()]
def topParentRange(self):
'''KTextEditor.SmartRange KTextEditor.SmartRange.topParentRange()'''
return KTextEditor.SmartRange()
def depth(self):
'''int KTextEditor.SmartRange.depth()'''
return int()
def hasParent(self):
'''KTextEditor.SmartRange KTextEditor.SmartRange.hasParent()'''
return KTextEditor.SmartRange()
def setParentRange(self):
'''KTextEditor.SmartRange KTextEditor.SmartRange.setParentRange()'''
return KTextEditor.SmartRange()
def parentRange(self):
'''KTextEditor.SmartRange KTextEditor.SmartRange.parentRange()'''
return KTextEditor.SmartRange()
def setInsertBehavior(self):
'''KTextEditor.SmartRange.InsertBehaviors KTextEditor.SmartRange.setInsertBehavior()'''
return KTextEditor.SmartRange.InsertBehaviors()
def insertBehavior(self):
'''KTextEditor.SmartRange.InsertBehaviors KTextEditor.SmartRange.insertBehavior()'''
return KTextEditor.SmartRange.InsertBehaviors()
def removeText(self):
'''bool KTextEditor.SmartRange.removeText()'''
return bool()
def replaceText(self):
'''bool KTextEditor.SmartRange.replaceText()'''
return bool()
def text(self):
'''bool KTextEditor.SmartRange.text()'''
return bool()
def document(self):
'''KTextEditor.Document KTextEditor.SmartRange.document()'''
return KTextEditor.Document()
def expandToRange(self):
'''KTextEditor.Range KTextEditor.SmartRange.expandToRange()'''
return KTextEditor.Range()
def confineToRange(self):
'''KTextEditor.Range KTextEditor.SmartRange.confineToRange()'''
return KTextEditor.Range()
def smartEnd(self):
'''KTextEditor.SmartCursor KTextEditor.SmartRange.smartEnd()'''
return KTextEditor.SmartCursor()
def smartStart(self):
'''KTextEditor.SmartCursor KTextEditor.SmartRange.smartStart()'''
return KTextEditor.SmartCursor()
def setRange(self):
'''KTextEditor.Range KTextEditor.SmartRange.setRange()'''
return KTextEditor.Range()
def toSmartRange(self):
'''KTextEditor.SmartRange KTextEditor.SmartRange.toSmartRange()'''
return KTextEditor.SmartRange()
def isSmartRange(self):
'''bool KTextEditor.SmartRange.isSmartRange()'''
return bool()
class ContainerInterface():
""""""
def __init__(self):
'''void KTextEditor.ContainerInterface.__init__()'''
def __init__(self):
'''KTextEditor.ContainerInterface KTextEditor.ContainerInterface.__init__()'''
return KTextEditor.ContainerInterface()
def container(self):
'''abstract QObject KTextEditor.ContainerInterface.container()'''
return QObject()
def setContainer(self):
'''abstract QObject KTextEditor.ContainerInterface.setContainer()'''
return QObject()
class ModificationInterface():
""""""
# Enum KTextEditor.ModificationInterface.ModifiedOnDiskReason
OnDiskUnmodified = 0
OnDiskModified = 0
OnDiskCreated = 0
OnDiskDeleted = 0
def __init__(self):
'''void KTextEditor.ModificationInterface.__init__()'''
def modifiedOnDisk(self):
'''abstract KTextEditor.ModificationInterface.ModifiedOnDiskReason KTextEditor.ModificationInterface.modifiedOnDisk()'''
return KTextEditor.ModificationInterface.ModifiedOnDiskReason()
def slotModifiedOnDisk(self):
'''abstract KTextEditor.View KTextEditor.ModificationInterface.slotModifiedOnDisk()'''
return KTextEditor.View()
def setModifiedOnDiskWarning(self):
'''abstract bool KTextEditor.ModificationInterface.setModifiedOnDiskWarning()'''
return bool()
def setModifiedOnDisk(self):
'''abstract KTextEditor.ModificationInterface.ModifiedOnDiskReason KTextEditor.ModificationInterface.setModifiedOnDisk()'''
return KTextEditor.ModificationInterface.ModifiedOnDiskReason()
class Range():
""""""
def __init__(self):
'''void KTextEditor.Range.__init__()'''
def __init__(self):
'''KTextEditor.Cursor KTextEditor.Range.__init__()'''
return KTextEditor.Cursor()
def __init__(self):
'''int KTextEditor.Range.__init__()'''
return int()
def __init__(self):
'''int KTextEditor.Range.__init__()'''
return int()
def __init__(self):
'''int KTextEditor.Range.__init__()'''
return int()
def __init__(self):
'''KTextEditor.Range KTextEditor.Range.__init__()'''
return KTextEditor.Range()
def __init__(self):
'''KTextEditor.Cursor KTextEditor.Range.__init__()'''
return KTextEditor.Cursor()
def rangeChanged(self):
'''KTextEditor.Range KTextEditor.Range.rangeChanged()'''
return KTextEditor.Range()
def encompass(self):
'''KTextEditor.Range KTextEditor.Range.encompass()'''
return KTextEditor.Range()
def intersect(self):
'''KTextEditor.Range KTextEditor.Range.intersect()'''
return KTextEditor.Range()
def boundaryOnLine(self):
'''int KTextEditor.Range.boundaryOnLine()'''
return int()
def boundaryAtCursor(self):
'''KTextEditor.Cursor KTextEditor.Range.boundaryAtCursor()'''
return KTextEditor.Cursor()
def positionRelativeToLine(self):
'''int KTextEditor.Range.positionRelativeToLine()'''
return int()
def positionRelativeToCursor(self):
'''KTextEditor.Cursor KTextEditor.Range.positionRelativeToCursor()'''
return KTextEditor.Cursor()
def overlapsColumn(self):
'''int KTextEditor.Range.overlapsColumn()'''
return int()
def overlapsLine(self):
'''int KTextEditor.Range.overlapsLine()'''
return int()
def overlaps(self):
'''KTextEditor.Range KTextEditor.Range.overlaps()'''
return KTextEditor.Range()
def containsLine(self):
'''int KTextEditor.Range.containsLine()'''
return int()
def contains(self):
'''KTextEditor.Range KTextEditor.Range.contains()'''
return KTextEditor.Range()
def contains(self):
'''KTextEditor.Cursor KTextEditor.Range.contains()'''
return KTextEditor.Cursor()
def isEmpty(self):
'''bool KTextEditor.Range.isEmpty()'''
return bool()
def columnWidth(self):
'''int KTextEditor.Range.columnWidth()'''
return int()
def numberOfLines(self):
'''int KTextEditor.Range.numberOfLines()'''
return int()
def onSingleLine(self):
'''bool KTextEditor.Range.onSingleLine()'''
return bool()
def confineToRange(self):
'''KTextEditor.Range KTextEditor.Range.confineToRange()'''
return KTextEditor.Range()
def expandToRange(self):
'''KTextEditor.Range KTextEditor.Range.expandToRange()'''
return KTextEditor.Range()
def setRange(self):
'''KTextEditor.Range KTextEditor.Range.setRange()'''
return KTextEditor.Range()
def setRange(self):
'''KTextEditor.Cursor KTextEditor.Range.setRange()'''
return KTextEditor.Cursor()
def setBothColumns(self):
'''int KTextEditor.Range.setBothColumns()'''
return int()
def setBothLines(self):
'''int KTextEditor.Range.setBothLines()'''
return int()
def end(self):
'''KTextEditor.Cursor KTextEditor.Range.end()'''
return KTextEditor.Cursor()
def start(self):
'''KTextEditor.Cursor KTextEditor.Range.start()'''
return KTextEditor.Cursor()
def toSmartRange(self):
'''KTextEditor.SmartRange KTextEditor.Range.toSmartRange()'''
return KTextEditor.SmartRange()
def isSmartRange(self):
'''bool KTextEditor.Range.isSmartRange()'''
return bool()
def invalid(self):
'''static KTextEditor.Range KTextEditor.Range.invalid()'''
return KTextEditor.Range()
def isValid(self):
'''bool KTextEditor.Range.isValid()'''
return bool()
class SmartCursorNotifier(QObject):
""""""
def __init__(self):
'''void KTextEditor.SmartCursorNotifier.__init__()'''
deleted = pyqtSignal() # void deleted(KTextEditor::SmartCursor *) - signal
characterInserted = pyqtSignal() # void characterInserted(KTextEditor::SmartCursor *,bool) - signal
characterDeleted = pyqtSignal() # void characterDeleted(KTextEditor::SmartCursor *,bool) - signal
positionDeleted = pyqtSignal() # void positionDeleted(KTextEditor::SmartCursor *) - signal
positionChanged = pyqtSignal() # void positionChanged(KTextEditor::SmartCursor *) - signal
def setWantsDirectChanges(self):
'''bool KTextEditor.SmartCursorNotifier.setWantsDirectChanges()'''
return bool()
def wantsDirectChanges(self):
'''bool KTextEditor.SmartCursorNotifier.wantsDirectChanges()'''
return bool()
class Editor(QObject):
""""""
def __init__(self):
'''QObject KTextEditor.Editor.__init__()'''
return QObject()
documentCreated = pyqtSignal() # void documentCreated(KTextEditor::Editor *,KTextEditor::Document *) - signal
def configPageIcon(self):
'''abstract int KTextEditor.Editor.configPageIcon()'''
return int()
def configPageFullName(self):
'''abstract int KTextEditor.Editor.configPageFullName()'''
return int()
def configPageName(self):
'''abstract int KTextEditor.Editor.configPageName()'''
return int()
def configPage(self):
'''abstract QWidget KTextEditor.Editor.configPage()'''
return QWidget()
def configPages(self):
'''abstract int KTextEditor.Editor.configPages()'''
return int()
def configDialog(self):
'''abstract QWidget KTextEditor.Editor.configDialog()'''
return QWidget()
def configDialogSupported(self):
'''abstract bool KTextEditor.Editor.configDialogSupported()'''
return bool()
def writeConfig(self):
'''abstract KConfig KTextEditor.Editor.writeConfig()'''
return KConfig()
def readConfig(self):
'''abstract KConfig KTextEditor.Editor.readConfig()'''
return KConfig()
def aboutData(self):
'''abstract KAboutData KTextEditor.Editor.aboutData()'''
return KAboutData()
def documents(self):
'''abstract list-of-KTextEditor.Document KTextEditor.Editor.documents()'''
return [KTextEditor.Document()]
def createDocument(self):
'''abstract QObject KTextEditor.Editor.createDocument()'''
return QObject()
class SmartRangeNotifier(QObject):
""""""
def __init__(self):
'''void KTextEditor.SmartRangeNotifier.__init__()'''
rangeAttributeChanged = pyqtSignal() # void rangeAttributeChanged(KTextEditor::SmartRange *,KTextEditor::Attribute::Ptr,KTextEditor::Attribute::Ptr) - signal
childRangeRemoved = pyqtSignal() # void childRangeRemoved(KTextEditor::SmartRange *,KTextEditor::SmartRange *) - signal
childRangeInserted = pyqtSignal() # void childRangeInserted(KTextEditor::SmartRange *,KTextEditor::SmartRange *) - signal
parentRangeChanged = pyqtSignal() # void parentRangeChanged(KTextEditor::SmartRange *,KTextEditor::SmartRange *,KTextEditor::SmartRange *) - signal
rangeDeleted = pyqtSignal() # void rangeDeleted(KTextEditor::SmartRange *) - signal
rangeEliminated = pyqtSignal() # void rangeEliminated(KTextEditor::SmartRange *) - signal
caretExitedRange = pyqtSignal() # void caretExitedRange(KTextEditor::SmartRange *,KTextEditor::View *) - signal
caretEnteredRange = pyqtSignal() # void caretEnteredRange(KTextEditor::SmartRange *,KTextEditor::View *) - signal
mouseExitedRange = pyqtSignal() # void mouseExitedRange(KTextEditor::SmartRange *,KTextEditor::View *) - signal
mouseEnteredRange = pyqtSignal() # void mouseEnteredRange(KTextEditor::SmartRange *,KTextEditor::View *) - signal
rangeContentsChanged = pyqtSignal() # void rangeContentsChanged(KTextEditor::SmartRange *) - signal
rangeContentsChanged = pyqtSignal() # void rangeContentsChanged(KTextEditor::SmartRange *,KTextEditor::SmartRange *) - signal
rangePositionChanged = pyqtSignal() # void rangePositionChanged(KTextEditor::SmartRange *) - signal
def setWantsDirectChanges(self):
'''bool KTextEditor.SmartRangeNotifier.setWantsDirectChanges()'''
return bool()
def wantsDirectChanges(self):
'''bool KTextEditor.SmartRangeNotifier.wantsDirectChanges()'''
return bool()
|